Home

Awesome

Craft CMS Boilerplate

Opinionated boilerplate configuration of Craft CMS.

Features

Development Quickstart

Prerequisites

Getting Started

  1. Create New Project
composer create-project fusionary/craftcms-boilerplate my-project && cd my-project
  1. 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
  1. 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
  1. 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
  1. Get a Database
yarn db pull development
  1. Start Developing

Enjoy hot-module replacement/css live-reloading.

yarn start

More Info