GithubHelp home page GithubHelp logo

imclab / github-tags Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mic92/github-tags

0.0 1.0 0.0 145 KB

sinatra app to generate rss feeds with the latest git tags of a project on github

github-tags's Introduction

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 [email protected]:YOUR-APP-NAME.git

Add this project as a remote

$ git remote add origin [email protected]:Mic92/github-tags.git
$ git pull origin master
$ git push heroku

Configure Postgres

$ heroku addons:add heroku-postgresql: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

github-tags's People

Contributors

mic92 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.