VagrantPress is a packaged development environment for developing WordPress themes and modules.
Forked from Chad Thompson's repo at https://github.com/chad-thompson/vagrantpress.
This fork uses a newer Ubuntu box and Ngnix instead of Apache, to make it more convenient for my needs.
Another similar project is varying-vagrant-vagrants with the main difference being us using puppet
to provision the machines and vvv using a shell script on the target environment.
- Ubuntu Saucy (13.10)
- Wordpress 3.8
- Mysql
- Php
- Phpmyadmin
- PEAR
- Xdebug
- PHPUnit
- phploc
- phpcpd
- phpdcd
- phpcs
- phpdepend
- phpmd
- PHP_CodeBrowser
- WordPress sniffs for phpcs
- WordPress Unit Tests
This is a fairly simple project to get up and running.
The procedure for starting up a working WordPress is as follows:
- Install vagrant, and
- Clone the project.
- Run the command
vagrant up
- Open your browser to http://localhost:8080
To log in to the local Wordpress installation:
http://localhost:8080/wp-admin/
the username is admin
, the password is vagrant
.
You can access phpMyAdmin:
http://localhost:8080/phpmyadmin/
with username wordpress
, password wordpress
.
-
If you're needing a password (for anything - including mysql, it should be
vagrant
) -
Install the vagrant-hostsupdater plugin with vagrant plugin install vagrant-hostsupdater. This step is not a requirement, though it does make the process of starting up a virtual machine nicer by automating the entries needed in your local machine's hosts file to access the provisioned domains in your browser. If you choose not to install this plugin, a manual entry should be added to your local hosts file.
Feel free to file an issue, create a pull request, or contact me For patches not related to the ngnix fork, it is better so submit upstream.