Learn how Vagrant, a tool for creating portable development environments, can help you:
- Easily setup a local development environment
- Match your local development environment to production and avoid surprises during deployment.
- Share development environments with team members and get new team members up and running in record time.
- Easily deploy code by using providers and provisioners.
Quick Start – Using Vagrant with WordPress
- Install VirtualBox
- Install Vagrant
- Install the Vagrant Hosts Updater plugin by running
vagrant plugin install vagrant-hostsupdater
from the command line - Install the Vagrant Triggers plugin by running
vagrant plugin install vagrant-triggers
from the command line - Clone the Varying Vagrant Vagrants (aka VVV) repository by running
git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git
from the command line - From the root of the VVV repository, run
vagrant up
from the command line - Visit vvv.dev in your browser and start working!
Customizing VVV
- Create a separate project repository using the auto site setup and clone the repo into the VVV /www directory.
- Create new projects from the command line with the VVV Site Wizard
Resources
Vagrant Boxes
Providers
Provisioners
Provisioning Tools
Tutorials
Glossary
- Guest – The virtual machine
- Host – The physical machine
- Provision – Install the required software and configure the machine for use
Presented at WordCamp Asheville 2014. Also covered during my “Improving your WordPress WorkFlow with Vagrant and Composer” workshop at WordCamp Tampa 2014.