You need to register 2 GitHub apps with the following callbacks:
http://yourdomain.com/auth/github_public/callback
http://yourdomain.com/auth/github_private/callback
Personally, I added 127.0.0.1 octofeed.dev
in my /etc/hosts
file and serve the app with Shotgun. The domain of the apps is http://octofeed.dev:9393
.
Set your GitHub apps id & secret in config/environment.rb
. You may also want to change your database URI.
$ cp config/environment.rb.sample config/environment.rb
The easiest way to install MongoDB is with Homebrew:
$ brew install mongodb
Don’t forget to follow the instructions at the end of the install script.
$ gem install bundler
$ bundle install
The app is developed with Stylus (with nib) & CoffeeScript. Both are required if you want to run the app locally.
$ npm install
$ git submodule init && git submodule update
http://heliom.ca/en/blog/octofeed
- A pull request is an issue. It responds to the issue URL /user/repo/issues/1 but redirects to the pull URL /user/repo/pull/1. In the current GitHub news feed, pull request comments links /user/repo/issues/1#issuecomment-1234567 lose their anchor after the redirection /user/repo/pull/1. In OctoFeed, a pull request comment correctly links to the pull URL /user/repo/pull/1#issuecomment-1234567.
- A few typos like “1 commits” and “0 deletitions”.
- Repo icon/avatar. If a repo has an
/icon.png
image in itsmaster
branch, it will be displayed in repo-related feed entries.
- There seems to be some irregularities with your watched repos list (http://developer.github.com/v3/repos/watching/#list-repos-being-watched). Your own repos and some other private repos you’re collaborating on aren’t listed.