One line Vagrant set and up

After some tweaking and a lot of fiddling I’ve been able to write a one liner command that will take care of setting up a minimum requirement WordPress environment with benefits

curl -L -o '' && curl -L -o 'Vagrantfile' && vagrant up

given Vagrant installed along a virtual machine provisioner like Virtual Box that will allow installing and setting up the machine with PHP 5.2 and MySQL 5.1 “in a moment”.
I’ve baked into it some utilities to allow for even faster deployment like

addwp - downloads, installs ans sets up WordPress
adddb - adds a MySQL database
php-lint <folder> - recursive php linting from a folder root

I will probably do the same for a 5.3 and 5.4 machine in a short time.
Original idea and code by Jeffrey Way.

One thought on “One line Vagrant set and up

I appreciate your input