Skip to content

Instantly share code, notes, and snippets.

@tomjn
Last active March 19, 2016 00:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomjn/2fdd824542c287ca00f6 to your computer and use it in GitHub Desktop.
Save tomjn/2fdd824542c287ca00f6 to your computer and use it in GitHub Desktop.
Copy paste into the terminal on OS X to download and install everything needed for VVV, then create a VVV vagrant box in ~/vvv

Open the "Terminal" application in MacOS X, then copy paste the script and press enter. It will install VVV and all its dependencies.

It will also install an additional site that will show how to add your own sites ( site-name.dev ).

When finished, it will do several things:

  • Open your www folder in Finder for editing
  • Open the VVV webpage for information
  • Open the CFTP Site init scaffold with information on how to add your own sites
#install Homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap caskroom/cask
brew update
# Install VM stuff
brew cask install virtualbox vagrant vagrant-manager
vagrant plugin install vagrant-hostsupdater
vagrant plugin install vagrant-triggers
# Install VVV
git clone https://github.com/Varying-Vagrant-Vagrants/VVV.git ~/vvv
git clone https://github.com/cftp/vvv-init/ ~/vvv/www/site-name.dev
cd ~/vvv
vagrant up --provision
# Open up the www folder
open ~/vvv/www
open https://github.com/cftp/vvv-init/blob/master/readme.md
open https://github.com/Varying-Vagrant-Vagrants/VVV/blob/develop/README.md
open http://local.wordpress.dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment