Skip to content

jcmendez/vagrantpress

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VagrantPress

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.

What's Installed

  • 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

Getting Started

This is a fairly simple project to get up and running.
The procedure for starting up a working WordPress is as follows:

  1. Install vagrant, and
  2. Clone the project.
  3. Run the command vagrant up
  4. Open your browser to http://localhost:8080

Working with the environment

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.

A Few Details

  • 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.

Getting Help

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.

About

A WordPress Development Environment With Vagrant/Puppet

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 61.0%
  • PHP 39.0%