If you created this project, instructions for setting up GitHub, Heroku, and other integrations can be found in the Project Setup Checklist.
git clone [email protected]:LaunchPadLab/<project_name>.git
cd <project_name>
bundle install
load_secrets
bundle exec rake db:create db:migrate db:seed
rails server
open localhost:3000
This repo contains a template for Pull Request (PR) descriptions to help you to give easy and consistent instructions and context to a Code Reviewer and QA Reviewer. More information on PR best practices for both Authors and Reviewers are included in the LPL Pull Request Guidelines.
Pull requests to the dev
branch will trigger review apps in Heroku.
The staging
branch will auto-deploy to the staging environment on Heroku.
The main
branch can then be deployed to production after successful QA.
All Ruby/Rails unit tests must pass for a PR to be merged. They can be run locally with:
- Ruby/Rails unit tests:
bundle exec rspec
The project is set up to lint ruby, so its advised that you have this integrated in your editor. Currently, linting errors will not block a PR merge, but this may change in the future.
You can run these manually with:
- Ruby:
rubocop
(if installed globally withgem install rubocop
)