A development environment for WordPress developers in a virtual machine, managed by Vagrant and provisioned by Chef solo.
Install Vagrant 1.2.x.
Install VirtualBox.
Clone this repository and init submodules:
$ cd [repo]
$ git submodule init
$ git submodule update
Launch the virtual machine with:
$ vagrant up
By default, the WordPress cookbook installs the latest version of WordPress to /var/www
. To change this, edit the relevant section in the Vagrantfile. For further documentation see the README of the WordPress cookbook.
:wordpress => {
:version => "latest",
:dir => "/var/www",
:db => {
:database => "wordpress",
:user => "wordpress",
:password => "wordpress"
}
}
The MySQL root password is set to vagrant
.
- Apache2 with PHP
- MySQL
- Git and Subversion
- latest version of WordPress