Skip to content
Who has the Longest Streak on GitHub?
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
spec
vendor/assets
.gitignore
.rspec
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru

README.md

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:

    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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.