Awesome
Craft CMS Boilerplate
Opinionated boilerplate configuration of Craft CMS.
Features
- Ansible/Docker environment provisioning
- CI/CD Deployments via Gitlab CI/CD
- Front-end asset building via Neutrino
- Bootstrapped and configured using Craft CMS Bootstrap
Development Quickstart
Prerequisites
Getting Started
- Create New Project
composer create-project fusionary/craftcms-boilerplate my-project && cd my-project
- Grab the lastest DevOps goodies
rm -rf ops/ansible &&
git clone https://gitlab.fusionary.com/fusionary/devops/ansible.git ops/ansible &&
rm -rf ops/ansible/.git
- Ansible Vault Password
Get the Ansible Vault password for this project (probably in Keybase), and write it to
ops/ansible/.vault_pass
:
echo "replace-me" > ops/ansible/.vault_pass
- Provision and Build Environment
ansible-galaxy install -r ops/ansible/requirements.yml &&
ops/ansible/bin/provision.sh local &&
yarn docker-compose up -d &&
yarn docker-compose run app composer install &&
yarn &&
yarn build
- Get a Database
yarn db pull development
- Start Developing
Enjoy hot-module replacement/css live-reloading.
yarn start
More Info
- Full Setup Docs
- See @timkelty or @jswewart
- https://gitlab.fusionary.com/fusionary/devops/ansible