I like to build wordpress themes locally. Originally I used MAMP which was fine for a while but the free version has some limitations and the pro version only worked well when I was doing everything alone. Once I got a team building with me the need for indentical development environments became apparent.
Enter Varying Vagrant Vagrants and the VVV Site Creation Wizard.
In a nutshell this sets up a virtual environment on your machine for development. Much like MAMP. The benefit I found with VVV is the environment tends to work much more smoothly across machines making collaborative development that much easier.
I detailed my own web dev tool kit previously and briefly touched on Vagrant and VVV. Here we’ll look take a closer look at all the tools you’ll need to get a site up and rolling locally.
First you will need to download and install VirtualBox. This is the program that will run your virtual machine. It’s a pretty indespensible tool that can be used to setup all sorts of virtual boxes from super old versions of Windows to Linux and everything in between.
Once that is installed you will need Vagrant.
Vagrant is a tool for building complete development environments. With an easy-to-use workflow and focus on automation, Vagrant lowers development environment setup time, increases development/production parity, and makes the “works on my machine” excuse a relic of the past.
That pretty much sums it up. You can now expect that everyone on your team is working in the same environment. If it works on one machine it should work on all the others.
You will need to follow the instructions in the docs to get your first Vagrant Up. If you follow those docs you will not only get your first Vagrant Up but will do so with Varying Vagrants Vagrant or VVV.
Varying Vagrant Vagrants is an open source Vagrant configuration focused on WordPress development. VVV is MIT Licensed.
Now that you have a very nice WordPress enviro setup lets go one step further and use the VVV Site Creation Wizard to get things really rolling. This will help us setup local wordpress installs where we can finally get started developing.
Okay! If you have made it this far you deserve a high five! ✋
And if you’ve made it this far I will also assume you know how to use the terminal. Good? Good. Let’s be ✨wizards✨