fusionary/craftcms-boilerplate

Craft CMS Boilerplate

dev-redacted 2018-03-23 10:56 UTC

This package is auto-updated.

Last update: 2024-04-07 06:33:54 UTC


README

Opinionated boilerplate configuration of Craft CMS.

Features

Development Quickstart

Prerequisites

  • Ansible >=2.4 (brew install ansible or pip install ansible)
  • Docker (brew cask install docker)

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