Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clarknelson/craft-dev5
https://github.com/clarknelson/craft-dev5
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/clarknelson/craft-dev5
- Owner: clarknelson
- Created: 2024-09-24T20:57:09.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-01T07:04:46.000Z (3 months ago)
- Last Synced: 2024-12-12T17:17:01.309Z (11 days ago)
- Language: Twig
- Size: 289 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Clark Adlai Company Craft build
This is the boilerplate repo for our craft5 projects.
This boilerplate uses [DDEV](https://ddev.com/) to manage the setup of the php dev environment (which craft5 is built on).
DDEV is docker based and provides php and db management. We use mysql DBs.
We run ddev using [OrbStack](https://orbstack.dev/) which runs a dockercontainer that ddev is on.
To get started:
* Install docker ddev and orbstack
* run `composer install` to install all php packages
* Import the db with `ddev import-db --src=path/to/your_db.sql`
* check that all .env variables are set up right (`CRAFT_DB_*` env vars)
* run `ddev craft setup` in the root dir
* Make sure that all of the prompts match the .env
* run `ddev start` in the root dir