This may be the easiest way to setup a dev LAMP box on a Mac.
- See if Vagrant is installed. From the command line, type “vagrant -v”. If things are correctly installed the Vagrant version will be returned.
- Create a folder in your home directory to hold the VM. I will call my folder “scotchbox”.
- 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”
- cd scotchbox
- 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