From 7c7f0e2bd91786a04d087fefb064f87ec22010eb Mon Sep 17 00:00:00 2001 From: John Bintz Date: Fri, 20 Jan 2012 09:58:08 -0500 Subject: [PATCH] update readme --- Readme.md | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/Readme.md b/Readme.md index 456c6f3..c429fec 100644 --- a/Readme.md +++ b/Readme.md @@ -5,19 +5,20 @@ This is a [Vagrant][vagrant] setup for creating Wordpress themes. Uses [my fork][cookbooks-developish] of [those by Opscode][cookbooks-opscode], which allows for their use with Chef Solo and for a blank MySQL root password. -NEVER WORRY ABOUT SETTING UP MYSQL AND PHP ON YOUR MAC EVER AGAIN! +NEVER WORRY ABOUT SETTING UP MYSQL AND PHP ON YOUR COMPUTER EVER AGAIN! ## Requirements ## -* [Vagrant][vagrant] +* [Bundler][bundler] - $ gem install vagrant + $ gem install bundler ## To get started ## - $ git clone git://github.com/paulcarvill/vagrant-wordpress.git - $ cd vagrant-wordpress - $ vagrant up + $ git clone git://github.com/paulcarvill/vagrant-wordpress.git + $ cd + $ bundle install + $ bundle exec vagrant up $ open http://localhost:8080 You'll need to install Wordpress (i.e. set up an admin user, name the Wordpress @@ -29,10 +30,18 @@ the virtual machine is pointing back at the theme directory on your local machine. So you can do your work, keep it in version control, and destroy the virtual machine once you're finished using: - $ vagrant destroy + $ bundle exec vagrant destroy [vagrant]:http://vagrantup.com [chef]:http://wiki.opscode.com/display/chef/Chef+Solo [cookbooks-developish]:https://github.com/opscode/cookbooks [cookbooks-opscode]:https://github.com/opscode/cookbooks [starkers]:http://starkerstheme.com + +## Eat your veggies and get strong ## + +You also get a basic configuration of [Cucumber](http://cukes.info/) set up to +make sure your initial install of WordPress is sane. Just run `bundle exec cucumber`. +You'll be using [capybara-webkit][capybara-webkit] to run your tests in a virtual +browser. Write those acceptance tests for your theme/plugin! +