Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

abundanthomesma/abundanthousingma.org

Repository files navigation

abundanthousingma.org

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.

Requirements

Make sure all dependencies have been installed before moving on:

Windows user? Read the Windows getting started docs for slightly different installation instructions.

Local development setup

All commands below are meant to be run from the trellis/ directory.

Using trellis-cli

  1. Review the automatically created site in group_vars/development/wordpress_sites.yml
  2. Customize settings if necessary

Start the Vagrant virtual machine:

trellis up

Deploying to remote servers

Using trellis-cli

For <environment>, the available values are:

  • production

Deploy a site:

trellis deploy <environment> abundanthousingma.org

Rollback a deploy:

trellis rollback <environment> abundanthousingma.org