Deploy Dev Scotch Box with Vagrant

This may be the easiest way to setup a dev LAMP box on a Mac.

  1. See if Vagrant is installed. From the command line, type “vagrant -v”. If things are correctly installed the Vagrant version will be returned.
  2. Create a folder in your home directory to hold the VM. I will call my folder “scotchbox”.
  3. Navigate to scotchbox’s parent directory and clone the box from github using this command ”

    git clone scotchbox”

  4. cd scotchbox
  5. vagrant up (should take around 10 minutes)

Once it’s up, it should function at this address:

and the files that are being served live in scotchbox/public

This is pretty easy.

Leave a Reply

Your email address will not be published. Required fields are marked *