All-in-one development stack, provisioning playbooks, theme development, and deployment mechanisms for the Abundant Housing MA website.
We make use of Trellis (local & public server provisioning), Bedrock (WordPress boilerplate), and Sage (WordPress starter theme) to make things really shine.
Make sure all dependencies have been installed before moving on:
- Virtualbox >= 4.3.10
- Vagrant = 2.1.0
- trellis-cli
Windows user? Read the Windows getting started docs for slightly different installation instructions.
All commands below are meant to be run from the trellis/
directory.
- Review the automatically created site in
group_vars/development/wordpress_sites.yml
- Customize settings if necessary
Start the Vagrant virtual machine:
trellis up
For <environment>
, the available values are:
production
Deploy a site:
trellis deploy <environment> abundanthousingma.org
Rollback a deploy:
trellis rollback <environment> abundanthousingma.org