Vagrant + Chef + WordPress

This is a Vagrant configuration designed for development of WordPress plugins, themes, or websites.


  • This Vagrant configuration has various settings you can change:
  • Customizable URL (default: http://wordpress.local/)
  • Debug mode is enabled by default
  • SSL is enabled by default
  • Automatic installation & activation of plugins and themes at the time of provisioning:
    • default plugins: theme-check, plugin-check, hotfix
    • default theme: none
  • Optional import of theme unit test data
  • Pre-installed wp-cli
  • Shares folders between Host and Guest OS

Getting Started

  1. Install VirtualBox.
  2. Install Vagrant.
  3. Install the vagrant-hostsupdater plugin.

    $ vagrant plugin install vagrant-hostsupdater
  4. Clone the repository into a local directory.

    $ git clone vagrant-wp
  5. Change into a new directory.

    $ cd vagrant-wp
  6. Copy the default Vagrantfile.

    $ cp Vagrantfile.sample Vagrantfile
  7. Start a Vagrant environment.

    $ vagrant up
  8. Visit http://wordpress.local/

See more information.


Beautiful twilight