sinatra app to generate rss feeds with the latest git tags of a project on github
Ruby CSS JavaScript HTML
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
migrations
public
views
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

github-tags

github-tags is a sinatra app to generate an rss feed with the latest git tags of a github project.

Demo

How to set up it on heroku

Get an heroku account and follow the starting guide to create an new application

Clone the source code of your new application:

$ git clone git@heroku.com:YOUR-APP-NAME.git

Add this project as a remote

$ git remote add origin git@github.com:Mic92/github-tags.git
$ git pull origin master
$ git push heroku

Configure Postgres

$ heroku addons:create heroku-postgresql:hobby-dev
Adding heroku-postgresql:dev to sushi... done, v69 (free)
Attached as HEROKU_POSTGRESQL_RED
Database has been created and is available

NOTE: HEROKU_POSTGRESQL_RED can differ in your case

$ heroku pg:promote HEROKU_POSTGRESQL_RED_URL

Optionally:

To increase your api request limit per hour, you can register the site as a github app: https://github.com/settings/applications/new

Then export the client id and client secret of your github app to the enviroment variables of heroku:

$ heroku config:add GITHUB_CLIENT_ID=_YOUR_CLIENT_ID_
$ heroku config:add GITHUB_CLIENT_SECRET=_YOUR_CLIENT_SECRET_

Check your setup by visiting https://your-heroku-app.herokuapps.com/status (replace your your-heroku-app with your application name) If Github Client Key and Github Client Secret is present, you can hit the "Get an OAuth key"-link. After login export the OAuth token to heroku:

$ heroku config:add GITHUB_OAUTH_TOKEN=_YOUR_OAUTH_TOKEN_

Now you can recheck your setup by visiting https://your-heroku-app.herokuapps.com/status again