Skip to content

Instantly share code, notes, and snippets.

@lukewhitehouse
lukewhitehouse / readme.md
Last active February 24, 2016 10:24
Setting up an existing wp-deploy project locally

Here's what you'll need to do to set the site up locally...

NOTE: You won't be able to do this till I've added your SSH key and IP address to the server.

  1. run git clone --recursive <SSH URL FROM GITHUB>
  2. Go into the dev branch - git checkout development
  3. run bundle install
  4. Copy config/database.example.yml to config/database.yml and add in your local database (you'll need to create one) as well as the database details from the spec doc (link in email).
  5. Set your vhosts up as the domain found within the wp_localurl variable within config/deploy.rb Line 14. (this is required!)
  6. run bundle exec cap staging wp:setup:local