-
Notifications
You must be signed in to change notification settings - Fork 110
Mac Setup Instructions
Brian Soe edited this page Apr 1, 2015
·
5 revisions
##Install Xcode and Command Line Tools
- Download and Install Xcode: https://developer.apple.com/xcode/downloads/
- Once installed, create an Apple developer account and then go to https://developer.apple.com/downloads/ and select Command Line Tools for Xcode (To find out which version you have, press the apple button on the top left corner and select About this mac. If it’s 10.6.x it is Snow Leopard. If it’s 10.7.x it is Lion. If it’s 10.8.x it is Mountain Lion. If it’s 10.9.x it is Mavericks).
- Download and install the Command Line Tools for Xcode
##Install Homebrew
- Open up terminal: It’s in /Applications/Utilities/Terminal.app (Make sure you keep this handy, as you will use terminal for most of the projects!)
- Type
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"in a single line and press enter. It will install homebrew onto your laptop (You might need to type in administrative password). - Once homebrew is installed, type
brew doctorand make sure it doesn’t have any problems (warnings are ok).
##Install Nodejs and MongoDB
- Then, we want to install nodejs and mongodb through homebrew. We’ll type
brew install node mongodb - Once that prompt is done, make sure they’re actually installed.
node –v
npm –v
mongod --version
Ensure all of the above return version values.
##Setup GitHub Then, we need to generate SSH keys for github. Login/Create a github account and follow these instructions. https://help.github.com/articles/generating-ssh-keys
##Setup Heroku
- Download Heroku toolbelt and install it. https://toolbelt.heroku.com/
- Verify Heroku toolbelt is installed by typing
heroku -–version