troisieme/overdog
Composer 安装命令:
composer create-project troisieme/overdog
包简介
A Craft CMS scaffolding project
README 文档
README
This Craft CMS starter project is for developers who want to build a website or small web application from a solid foundation based on best practices.
Version
2.1.1
Installation
Navigate to your web projects folder. You can change the last term "overdog" - this will be the name of your project folder.
Create a new project
composer create-project troisieme/overdog overdog
Install Node.js packages for development and compilation
yarn install
Set up a new local server host and database
- Create a new Host on your local server.
- Set up a MySQL database. You can use the username and password as "root/root", as this will never be deployed.
- Point this host to the web folder of your project.
Note
If you're using MAMP Pro, make sure "Allow network access to MySQL" is checked in the MySQL tab.
Update certain variables in the .env file
In the .env file located at the root of your project, fill in the following details. You can leave the other variables empty for the time being and configure them later:
CRAFT_SYSTEM_NAME— Project name - this will be visible in the Control Panel; enclose it in quotes.SITE_URL— The main development URL of your host (without trailing slash).SITE_GROUP— Name of the locale (language) group. Likely the project name.CRAFT_DB_DRIVER— "mysql"CRAFT_DB_SERVER— "localhost" or "127.0.0.1" (as an example).CRAFT_DB_PORT— Commonly "3306" or "8889".CRAFT_DB_DATABASE— Name of the database you created.CRAFT_DB_USER— Username (possibly "root").CRAFT_DB_PASSWORD— Password (possibly "root").CRAFT_DB_SCHEMA— "public".CRAFT_DB_TABLE_PREFIX— Database table prefix, typically left empty in most scenarios.
Install Craft CMS
In your project folder, execute the following in the terminal.
php craft setup/welcome
Note
When prompted for the SITE NAME, SITE URL, and LANGUAGE during installation, simply press Enter. Your installation will align with the settings from your .env file. Should you have maintained the default Overdog details in the env file, you'll have the flexibility to adjust them post-installation.
Create a Git repo with your git provider
Set up your project with your provider.
Warning
Do not check "Initialize repository with a readme"; keep it entirely empty.
Integrate Git with your local project
- Add the previously created project folder to your software or terminal to initialize Git (the method may vary slightly depending on the tool you're using).
- After the first commit, consider renaming your local branch to "develop".
- Add the remote link, ideally using SSH, of the project you set up with your provider.
- Make an initial commit on the "develop" branch and push it to create a new "develop" branch on the remote repository.
Documentation
troisieme/overdog 适用场景与选型建议
troisieme/overdog 是一款 基于 Twig 开发的 Composer 扩展包,目前已累计 30 次下载、GitHub Stars 达 0, 最近一次更新时间为 2024 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「craft cms」 「3ejoueur」 「Overdog」 「Craft CMS starter」 「Craft CMS boilerplate」 「troisième」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 troisieme/overdog 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 troisieme/overdog 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 troisieme/overdog 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Expand, collapse, change the status of, or delete multiple blocks in a Matrix field simultaneously.
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Integrate with Snipcart.
Restrict user registration by domain in Craft CMS, allows you to limit who can register for your site based on their email address.
统计信息
- 总下载量: 30
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-12