Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 885 Bytes

CONTRIBUTING.md

File metadata and controls

65 lines (43 loc) · 885 Bytes

Contributor's Guide

Installation

Install Ruby 2.2.5, probably using rbenv.

Install PostgreSQL, probably using homebrew.

Download the source code:

git clone [email protected]:data-creative/law-schools-reporter.git
cd law-schools-reporter/
bin/setup # installs package dependencies and preps the database

Setup

Seed the database with schools and employment data.

bundle exec rake db:seed

Developing

Run interactive development console:

bin/rails c

Serve locally:

bin/rails s

Testing

Run tests:

bundle exec rspec spec/

Deploying

Gain access to the law-school-reporter heroku application.

Then deploy:

git checkout master
git pull origin master
git push heroku master

Or deploy from a branch:

git checkout mybranch
git pull origin mybranch
git push heroku mybranch:master