- A Github account
- Your preferred IDE or text editor
- Virtualbox
- Vagrant 1.8.6
- Ansible 2.0.2.0
- Node >= 4.6.x
- Vagrant plugin bindfs
- Vagrant plugin hostmanager
- Vagrant plugin cachier
- bento/ubuntu-16.04 box
- Install VirtualBox
- Get VirtualBox from this URL: https://www.virtualbox.org/wiki/Downloads
- Install Vagrant 1.8.6
- Get Vagrant from this URL: http://www.vagrantup.com/downloads.html
- Check your BIOS to ensure hardware virtualization is enabled (this is a 64-bit VM) https://www.virtualbox.org/manual/ch10.html#hwvirt
- If you already have Vagrant be sure to update because of this bug in 1.8.5 hashicorp/vagrant#7610
- Install Ansible 2.0.2.0 (can be skipped if running Windows)
- If you are using brew on Mac:
brew install homebrew/versions/ansible20
- Else use the Python package manager:
sudo pip install ansible==2.0.2.0
-
Install Node 4.6.x
-
Install vagrant-hostmanager
- On the commandline execute:
vagrant plugin install vagrant-hostmanager
- Install vagrant-bindfs
- On the commandline execute:
vagrant plugin install vagrant-bindfs
- Install vagrant-cachier
- On the commandline execute:
vagrant plugin install vagrant-cachier
- Pre download the base box
- On the commandline execute:
vagrant box add bento/ubuntu-16.04 --box-version 2.2.9
mkdir epwp.com
cd epwp.com
git clone https://github.com/jvandijk/epwp-trellis.git trellis
git clone https://github.com/jvandijk/epwp-site.git site
cd site
git fetch origin
git checkout step-1-tutorial-init
cd ../trellis
git fetch origin
git checkout step-1-tutorial-init
ansible-galaxy install -f -r requirements.yml
vagrant up
When this is done, you should be able to browse a default WordPress website on http://example.dev
If you have any difficulty completing the following tasks, please get in touch with me via Twitter @jrvandijk. Thank you!