search instagram arrow-down

Twitter

Follow me!

Child Pages Shortcode TinyMCE Templates WP Total Hacks

Vagrant + Chef + WordPress

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

Overview

  • 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.
    https://www.virtualbox.org/
  2. Install Vagrant.
    http://www.vagrantup.com/
  3. Install the vagrant-hostsupdater plugin.

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

    $ git clone https://github.com/miya0001/vagrant-chef-centos-wordpress.git 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.

Thanks!

Leave a Reply
Your email address will not be published. Required fields are marked *

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: