Skip to content
This repository has been archived by the owner on Jan 31, 2019. It is now read-only.

robyurkowski/trellis-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 

Repository files navigation

example.com

This is a Trellis-managed, Bedrock-based wordpress site. It uses trellis-template to speed up and manage common development tasks.


Pre-requisites

  • Ruby 2.1
  • Rake
  • Virtualbox

Setting up a dev environment

  1. Clone this repository: git clone https://github.com/robyurkowski/trellis-template.git
  2. Run the bootstrap task: rake bootstrap
  3. Boot up the VM: cd provision && vagrant up

Developing

As usual. You can edit composer.json to add plugins found on wpackagist, and then composer update on the VM to lock the file.


Backups

Setting up backups

Verifying backups are working


Deploying

  1. Buy your domain name.
  2. Spin up a server: ansible-playbook server.yml -e environment=production
  3. 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.
  4. Deploy your code: ./bin/deploy.sh production example.com

About

MOVED to gitlab.com/robyurkowski/trellis-template

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages