♫ Welcome to the DOJO, We got PHP / We got all the versions you want, Vagrant is its name ♫
Note: Running the installer file will automatically setup the vagrant box and install WordPress following team conventions.
- Download the runme installer file.
- Using the Command Line, run the following commands:
git clone https://github.com/wpninjas/dojo.git dojo
1..cd dojo
- Using the Command Line, run the following commands:
vagrant up [box]
Note: Without naming a box, just the php52
box will be started.
Specify php53
, php54
, or php55
(or support
) to start up either one instead.
Note: With the Host Updater Plugin installed, your host file will be updated automatically.
- Add the following to your hosts file:
192.168.167.9 php52.dev
192.168.167.10 php53.dev
192.168.167.11 php54.dev
192.168.167.12 php55.dev
192.168.33.10 support
- Using the Command Line, run:
bash setup.sh
This command will clone WordPress and copy over the wp-config.php
With any of the boxes started, you can reach them at these locations:
- http://php52.dev/
- 192.168.167.9
- http://php53.dev/
- 192.168.167.10
- http://php54.dev/
- 192.168.167.11
- http://php55.dev/
- 192.168.167.12
- (Support) http://dojo/
- 192.168.33.10
The MySQL root password is "wordpress", and all boxes come with two pre-configured databases:
wordpress
(this is meant for a regular installation)wordpress-tests
(this is meant for use with PHPUnit tests)
A single account with rights all databases for convenience:
- Username:
wordpress
- Password:
wordpress
php52
- Debian 6.0 (squeeze)
- Apache 2.2 (suPHP, port 80 only)
- PHP 5.2.17 (painstakingly pulled from Dotdeb Lenny repos)
- PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
- PHPUnit 3.6.12
- MySQL 5.1.73
- Subversion 1.6.12, Git 1.7.2.5
- Node.js 0.10.29, Grunt
php53
- Ubuntu 12.04 (precise)
- Apache 2.2 (suPHP, port 80 and 443)
- PHP 5.3.10
- PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
- PHPUnit 4.4.2
- MySQL 5.5.38
- Subversion 1.6.17, Git 1.7.9.5
- Node.js 0.10.29, Grunt
php54
- Debian 7.6 (wheezy)
- Apache 2.2 (suPHP, port 80 and 443)
- PHP 5.4.36
- PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
- PHPUnit 4.4.2
- MySQL 5.5.40
- Subversion 1.6.17, Git 1.7.10.4
- Node.js 0.10.29, Grunt
php55
- Ubuntu 14.04 (trusty)
- Apache 2.4 (suPHP, port 80 and 443)
- PHP 5.5.9
- PHP Extensions: curl, gd, imagick, mcrypt, mysql, xdebug
- PHPUnit 4.4.2
- MySQL 5.5.40
- Subversion 1.8.8, Git 1.9.1
- Node.js 0.10.33, Grunt
support
Support uses the pre-configured ScotchBox setup.
- Process for clearing the database
- Sync database tables between boxes