PRpal is a tool that enforces peer review by requiring the assignee of your pull request to give a +1.
It's simple: PRpal ensures that the assignee of your pull request has commented with a +1 (or the +1 emoji). It enforces this rule by using the GitHub Status API.
- Follow the instructions for deploying above
- Go to the app's root url:
https://your-app.herokuapp.com/
- Click "Log In"
- Grant the app access to your GitHub account
- Once logged in, select "Refresh Repos" to sync your repositories
- Select "Activate" on the repos you would like to enforce (and that you have admin access to on GitHub)
- If you would like, go to the repo's settings in GitHub, and require a positive status check for 'peer-review/PRpal' in order to merge
- Requirements: Postgres, Redis, rvm or rbenv, Heroku toolbelt
- Clone the repo
- Install the gems:
$ bundle install
- Start the server:
$ heroku local
- Setup the database:
$ rails db:schema:load
- Run the tests:
$ rails test