Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Develop on OSX

rdsubhas edited this page Jun 14, 2014 · 8 revisions

Develop on OSX

To get RapidFTR running on your machine while its in a dev environment, you'll need to install the following:

  • Install XCode from the Mac App Store
  • Install Homebrew
  • Make sure Homebrew is configured properly: brew doctor
    • It will tell you what else you need to install to get homebrew up and running
  • CouchDB: brew install couchdb
  • LibXML2: brew install libxml2
  • ImageMagick: brew install imagemagick
  • JDK 1.7 or higher

Ruby 1.9.3 via RVM

  • Follow RVM install instructions to install RVM
  • You need Apple GCC to compile Ruby: ** Homebrew: brew install apple-gcc42
  • Install Ruby 1.9.3 by running the following command. The last --patch railsexpress will speed up Ruby a lot, but it is optional. You can safely omit the railsexpress patch if its not working in your machine.
CC=/usr/local/bin/gcc-4.2 rvm install 1.9.3-p392 --with-gcc=gcc-4.2 --patch railsexpress
(OR)
CC=/usr/local/bin/gcc-4.2 rvm install 1.9.3-p392 --with-gcc=gcc-4.2
  • Clone the RapidFTR codebase:
git clone git://github.com/rapidftr/RapidFTR.git
(or clone your fork)