==============================================
Giver-game application for CS169 / Effective Altruists of Berkeley
https://gentle-plateau-16169.herokuapp.com/
The Effective Altruists of Berkeley are trying to optimize the way people make good decisions. They want to help people contribute to causes they care about in a fun way. That's why we're helping them create the Giver Game. In this game, users will able to create choices between charities and other users can donate to the charity of their choosing.
Pivotal Tracker: https://www.pivotaltracker.com/n/projects/1882085
-
Install ruby, rvm, rails, cucumber.
-
Clone this repo
$ git clone git@github.com:Nsrose/giver-game.git
-
Run the following:
$ bundle install --without production $ bundle exec rake db:migrate
$ rake db:seed -
Run locally:
$ rail s
-
Test features (BDD):
$ rake features
-
Unit tests (TDD):
$ rake spec
Pushing to the master branch will automatically trigger Travis and CodeClimate processes. However, this will not deploy to Heroku.
Push to Travis and CodeClimate:
$ git add .
$ git commit -m "ready to check build and code status"
$ git push origin master
Deploy to Heroku:
-
Login to Heroku
$ heroku login
-
If this is your first time deploying, run this command:
$ git remote add heroku https://git.heroku.com/gentle-plateau-16169.git
-
Push to Heroku
$ git add .
$ git commit -m "ready to deploy" $ git push heroku master