heyblackmagic/foundation-ddev
最新稳定版本:v1.0.2
Composer 安装命令:
composer create-project heyblackmagic/foundation-ddev
包简介
Craft CMS - DDEV scafold
README 文档
README
Requirements
Make sure you have Orbstack and DDEV installed.
Stack
- PHP 8.2 (this can be changed in config.yaml)
- MySql 8
- Craft CMS ^5
- Vite
- Tailwind CSS
- Client fascing plugins included:
- craftcms/ckeditor
- verbb/hyper
- solspace/craft-freeform
- nystudio107/craft-seomatic
- verbb/navigation
Getting started
Run composer create-project heyblackmagic/foundation-ddev [project-name].
Go to .ddev/ > config.yaml > change the name (line 1) of the container to the desire one (no spaces allowed).
Run ddev start to create the container instance. This will create an instance using nginx, php 8.2, mysql 8 and composer.
Run ddev craft install to create your Craft CMS instance. Accept DB password DB user and Site URL defaults [square brackets].
After this the project should be running in your Orbstack image and it should be accesible with the following url (same as in craft installation) https://[project-name-in-step-1].ddev.site
Before moving forward:
- Go to your admin panel at:
https://[project-name-in-step-1].ddev.site/admin- and enable any plugins that didn't automatically enabled during setup.
Commands
Use any composer or npm command with the prefix ddev:
- Run
ddev npm run devto watch files to start development. - Run
ddev npm run buildto build assets. - Run
ddev craft ...to explore the Craft CLI - Done for the day?
ddev stopwill spin down any containers for the project and free up system resources.ddev startboots everything back up, right where you left off.
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-03-20