This is a Trellis-managed, Bedrock-based wordpress site. It uses trellis-template to speed up and manage common development tasks.
- Ruby 2.1
- Rake
- Virtualbox
- Clone this repository:
git clone https://github.com/robyurkowski/trellis-template.git - Run the bootstrap task:
rake bootstrap - Boot up the VM:
cd provision && vagrant up
As usual. You can edit composer.json to add plugins found on
wpackagist, and then composer update on the VM to
lock the file.
- Buy your domain name.
- Spin up a server:
ansible-playbook server.yml -e environment=production - Point your domain to the server, and ensure that you have added CNAMEs for
any non-canonical domains you've listed in
wordpress_sites.yml. - Deploy your code:
./bin/deploy.sh production example.com