#!/bin/bash command -v VBoxManage || { echo "Install VirtualBox! https://www.virtualbox.org/wiki/Downloads"; exit 1; } command -v vagrant || { echo "Install Vagrant! https://www.vagrantup.com/downloads.html"; exit 1; } command -v rvm || { echo "Install rvm! http://rvm.io/"; exit 1; } command -v nvm || { echo "Install nvm! https://github.com/creationix/nvm"; exit 1; } command -v bundle || { echo "Install bundler! gem install bundler"; exit 1; } bundle install npm install vagrant up echo "You can now visit http://localhost:8080 and configure your WordPress site." echo "Accept all defaults in the UI to initialize the database." echo "Yeah!"