Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/petems/puppethack-open-prs

http://puppethack-open-prs.herokuapp.com/
https://github.com/petems/puppethack-open-prs

Last synced: 1 day ago
JSON representation

http://puppethack-open-prs.herokuapp.com/

Awesome Lists containing this project

README

        

# puppet-hack-open-prs

A simple Sinatra APP to check open Pull Requests on PuppetLabs namespace.

It's heavily based on the [junkie](https://github.com/leomilrib/junkie) app. It's awesome, go check it out!

## Using it
You can use it by [accessing the herokuapp](http://puppethack-open-prs.herokuapp.com/).

## Getting your own
You can run it on your machine or sever by follwing this steps:

### Running locally
- `git clone `
- `bundle install`
- config your `~/.netrc` file to include your GitHub authentication token:
```
machine api.github.com
login janedoe
password hunter2
```
- `bundle exec ruby app.rb`

### Running on a Heroku app
- `git clone `
- `bundle install`
- `git remote add heroku <>`
- `heroku config:set --app=puppethack-open-prs GITHUB_APP_ID=<>`
- `heroku config:set --app=puppethack-open-prs GITHUB_APP_SECRET=<>`
- `heroku config:set --app=puppethack-open-prs SESSION_SECRET=$(ruby -e "require 'securerandom'; puts SecureRandom.hex")`
- `git push heroku master`
- `heroku open`

## Contributing
See the [contributing guide](CONTRIBUTING.md).