Skip to content
gavinlaking edited this page Nov 3, 2012 · 3 revisions

Here are the steps to set up the development environment:

Installing dependencies:

Linux:

bundle install
sudo apt-get install python-pygments

Mac OS X:

python --version

Download the Setuptools package corresponding to your version of Python; e.g. `setuptools-0.6c11-py2.7.egg` for Python 2.7.×. You will need your root password:

sudo sh setuptools-0.6c11-py2.7.egg
sudo easy_install Pygments

Setup the dummy host app:

cd spec/dummy
bundle exec rake db:create db:migrate db:test:prepare

Run the specs:

bundle exec rspec
or
bundle exec guard
from the root directory

Run the dummy app:

cd spec/dummy
bundle exec rails server