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
Seed the database with schools and employment data.
bundle exec rake db:seed
Run interactive development console:
bin/rails c
Serve locally:
bin/rails s
Run tests:
bundle exec rspec spec/
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