We're sorry to say that GHCR stopped being sufficient solution for code review in our growing team and we're no longer supporting it. We still think it's good solution for smaller teams, so we encourage you to try it.
git clone git@github.com:monterail/ghcr-api.git
cd ghcr-api
bin/setup
Create Heroku application (optional)
Create GitHub OAuth application
Edit config/application.yml
URL: YOUR_HOMEPAGE_URL # required
GITHUB_CLIENT_ID: "" # required
GITHUB_CLIENT_SECRET: "" # required
GITHUB_ORG: "" # optional
REDIS_URL: "redis://127.0.0.1:6379/0" # required
RAVEN_DSN: "" # optional
HIPCHAT_TOKEN: "" # optional
HIPCHAT_ROOM: "" # optional
heroku create
git push heroku master
heroku addons:add pgbackups
heroku addons:add redistogo
rake figaro:heroku
Setup YOUR_HOMEPAGE_URL/api/v1 in browser extension
/api/v1/authorize?redirect_uri=http://github.com/foo/bar
authorizes app, generates access token and redirects to redirect_uri with access_token in fragment/api/v1/commits?access_token=xyz
authorizes as user connected with access_tokenGo to your repository settings and select CONNECT this repository to Github Code Review
. Then everything should be set up.
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)