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 https://github.com/scotch-io/scotch-box.git scotchbox”

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

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

http://192.168.33.10/

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 *