https://github.com/jnunemaker/stars
collects github.com stars from people you follow
https://github.com/jnunemaker/stars
Last synced: about 1 year ago
JSON representation
collects github.com stars from people you follow
- Host: GitHub
- URL: https://github.com/jnunemaker/stars
- Owner: jnunemaker
- License: mit
- Created: 2015-01-30T15:45:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2019-03-23T14:31:30.000Z (about 7 years ago)
- Last Synced: 2025-03-31T04:04:54.248Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 259 KB
- Stars: 14
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Stars
Collects github.com stars from people you follow. Not much to see right now though.

## Setup
```
# setup env file from example, don't forget to update .env with github oauth
# app key and secret
mv .env.example .env
# bundle this bad boy
script/bootstrap
# setup the db for dev and test
bin/rake db:create db:migrate db:test:prepare
# run the server and open in browser
script/server
open http://localhost:3000
# or run the tests
script/test
```
## Heroku Setup
* Create app on heroku
* [Register](https://github.com/settings/applications/new) GitHub app; be sure to set authorization callback url to your heroku url
* Set github key and secret from GitHub oauth app on heroku: `heroku config:set GITHUB_KEY=... GITHUB_SECRET=... -a `
* Deploy to heroku
* Run migrations `heroku run rake db:migrate -a `
* Add [heroku scheduler](https://addons.heroku.com/scheduler) and setup `bundle exec rake import` to run on whatever interval you want