Ruby version: 2.6.6
OS: macOS
Names and UNIs:
Harshini Ramanujam - hr2538
Yumeng Bai - yb2542
Federico Tondolo - ft2505
Giffin Suresh - gs3219
Heroku link: https://gentle-springs-10839.herokuapp.com/
- Set ruby version to 2.6.6 -
rbenv local 2.6.6
- Install dependencies -
bundle install
- Run the DB migrations -
bin/rake db:migrate
- Seed local data in sqlite3 -
bin/rake db:seed
- Start the local instance -
bin/rails server -b 0.0.0.0
- To run cucumber tests -
bundle exec cucumber
- To run rspec tests -
bundle exec rspec
- Set the main repo as your upstream
git remote add upstream https://github.com/harshiniwho/splitsy
- Before starting a new change do a
git pull --rebase upstream main
- Commit all changes
- Do another
git pull --rebase upstream main
in case there were any commits in the middle of your development - Push changes to your fork
git push -f origin main
, most likely you might need the force because of rebasing - Then make a pull request to the main repo
- If there is a new migration file, run
bin/rake db:migrate
again - To run cucumber tests, run 'bundle exec cucumber'