Skip to content

Instantly share code, notes, and snippets.

@jvandijk
Last active November 16, 2016 15:12
Show Gist options
  • Save jvandijk/41c807eac8d0a1aede9c8dc632e7a2e3 to your computer and use it in GitHub Desktop.
Save jvandijk/41c807eac8d0a1aede9c8dc632e7a2e3 to your computer and use it in GitHub Desktop.
Enterprise WordPress tutorial preparation

Requirements

  • A Github account
  • Your preferred IDE or text editor

Software dependencies

  • 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

Installation notes

  1. Install VirtualBox
  1. Install Vagrant 1.8.6
  1. 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
  1. Install Node 4.6.x

  2. Install vagrant-hostmanager

  • On the commandline execute: vagrant plugin install vagrant-hostmanager
  1. Install vagrant-bindfs
  • On the commandline execute: vagrant plugin install vagrant-bindfs
  1. Install vagrant-cachier
  • On the commandline execute: vagrant plugin install vagrant-cachier
  1. Pre download the base box
  • On the commandline execute: vagrant box add bento/ubuntu-16.04 --box-version 2.2.9

Project setup

  • 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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment