Setting Up Magento 2 Locally in Mac OSX

Local system:

OSX El Captain
Version 10.11.2

So first ting I tried was to install Magento2 with MAMP. This was a no go due  MAMP using MySQL5.5 and Magento2 requiring MySQL 5.6.  TO get this working is a bit of a hack so…

Vagrant to the rescue!

Guys at Aheadworks have got a easy to follow Vagrant Configuration to run Magento 2.

One issue I had was to ensure the you install VirtualBox version 4.3 earlier versions did not work, nor did the latest .

So this took a while but once complete we could see Magento2 build files once SSH into the vagrant box .. .vagrant ssh

Then go back a few steps and in root of Ubuntu VM is our Magento2 build.

 

Now to start actually editing Magento2 files I did not want to SSH and use nano or vim all day long so needed to get in with Sublime Text.

So to do this neede dto grab Vagrant box SSH config :

In terminal

vagrant ssh-config

Screen Shot 2016-02-03 at 16.43.36

I added this information into Transmit setup and Mounted as a disk ( may need to download Panics Transmit Disk.) ensuring INitial Pathis set to root of Magento2 install :

/var/www

 

Screen Shot 2016-02-03 at 16.53.51

 

Then once this is setup we can open folder with Sublime2 and start editing :)

 

Screen Shot 2016-02-03 at 16.55.20 Screen Shot 2016-02-03 at 16.55.49