Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/oblakeerickson/longest_streak
Who has the Longest Streak on GitHub?
https://github.com/oblakeerickson/longest_streak
Last synced: 15 days ago
JSON representation
Who has the Longest Streak on GitHub?
- Host: GitHub
- URL: https://github.com/oblakeerickson/longest_streak
- Owner: oblakeerickson
- License: mit
- Created: 2014-01-10T14:53:01.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2015-01-14T14:00:30.000Z (almost 10 years ago)
- Last Synced: 2023-04-07T07:11:43.400Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 482 KB
- Stars: 13
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
longest_streak
==============Who has the Longest Streak on GitHub?
## How to run in Development
- clone this repo
- make sure you have postgresql installed and the database server is running
- create a database.yml file with the follow contents:```yaml
development:
adapter: postgresql
encoding: unicode
database: longest_streak_development
host: localhost
pool: 5
timeout: 5000
```- run `rake db:create`
- run `rake db:migrate`
- create a .username file with your github username
- create a .password file with your github password
- run `rake users:populate` to start fetching ALL the github users
- run `rake streaks:populate` to start fetching streaks for ALL users
- run `rake new_streaks:populate` to start fetching streaks for new users that don't have streaks in db yet
- run `rake large_streaks:populate` to start fetching streaks for users with streaks greater than 365