Setting up the Development Environment
To move on from submitting bugs to helping resolve existing issues or contributing your own code to Tower, you must be able to run its test suite. In this section of the guide you'll learn how to set up the tests on your own computer.
1. Install Homebrew
/usr/bin/ruby -e "$(/usr/bin/curl -fksSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)"
2.2 Install XCode
XCode 4 is required for git to work.
- Visit the XCode page in the Mac App store
- Click the blue button "View in Mac App store"
- Click the dropdown that says "Free"
It might require you to upgrade your operating system, so either find an older version of XCode or take the time to upgrade. It's better to get the latest version of XCode.
2.2 Install Git
If you don't have git already, it's easy to install
brew install git
2.3 Install Node and NPM
brew install node curl http://npmjs.org/install.sh | sh
2.3 Install MongoDB
brew install mongodb
Then follow the instructions output in the terminal to start mongodb (
2.4 Install Redis
brew install redis
Not using Redis yet.
2.5 Download Tower
sudo npm install -g design.io forever npm install -g tower
brew install tree