added some more info about Vagrant

This commit is contained in:
Paul Carvill 2011-09-17 14:53:41 +01:00
parent 19b279bb8f
commit 9aeee64c8d

View File

@ -5,13 +5,17 @@ This is a [Vagrant][vagrant] setup for creating Wordpress themes. Uses
[my fork][cookbooks-developish] of [those by Opscode][cookbooks-opscode], which [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. 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!
## Requirements ## ## Requirements ##
* [Vagrant][vagrant] * [Vagrant][vagrant]
$ gem install vagrant
## To get started ## ## To get started ##
$ git clone git://github.com/developish/vagrant-wordpress.git $ git clone git://github.com/paulcarvill/vagrant-wordpress.git
$ cd vagrant-wordpress $ cd vagrant-wordpress
$ vagrant up $ vagrant up
$ open http://localhost:8080 $ open http://localhost:8080
@ -19,6 +23,13 @@ allows for their use with Chef Solo and for a blank MySQL root password.
Copy a base theme (like [Starkers][starkers]) into the theme directory, choose Copy a base theme (like [Starkers][starkers]) into the theme directory, choose
it in the Wordpress dashboard, and get to work! it in the Wordpress dashboard, and get to work!
Your Ubuntu/PHP/MySQL box exists as a virtual machine. The website running on
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
[vagrant]:http://vagrantup.com [vagrant]:http://vagrantup.com
[chef]:http://wiki.opscode.com/display/chef/Chef+Solo [chef]:http://wiki.opscode.com/display/chef/Chef+Solo
[cookbooks-developish]:https://github.com/opscode/cookbooks [cookbooks-developish]:https://github.com/opscode/cookbooks