update readme

This commit is contained in:
John Bintz 2012-01-20 09:58:08 -05:00
parent bfbc9243c3
commit 7c7f0e2bd9
1 changed files with 16 additions and 7 deletions

View File

@ -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 <working directory>
$ cd <working directory>
$ 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!