-
Notifications
You must be signed in to change notification settings - Fork 7
Configuring your development environment
vtiffenberg edited this page Sep 8, 2014
·
1 revision
Even though we provide examples of how to set up the environment on Mac OS X, most of the steps are analogous on Linux. For example, in most cases while we use "brew" to install components on OS X, we'd use "apt-get" on Ubuntu. So, even if you're using Linux this guide may help you put all the pieces together to start developing Resource Map. If you're using Windows... well, you're brave, good luck with that :).
Find the instructions at: http://brew.sh/
brew install hg
hg clone https://[email protected]/instedd/resource_map
brew install rbenv
brew install ruby-build
Run:
rbenv version
If you get a "rbenv: version `Xxx' is not installed" you'll need to install the appropriate Ruby version. To do that run:
rbenv install
rbenv rehash
gem update --system
gem install bundler
(You may need to run this one with sudo).
bundle
rake db:setup
bundle exec rails s