Skip to content

a quick website to track the number of modules in various repositories

Notifications You must be signed in to change notification settings

hishamhm/modulecounts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Modulecounts

Uses 'rake cron' to poll all known repos for data each night.

Dev Setup

Runs on Heroku cedar stack with MRI 2.1.2

To run bundle install:

PATH=$PATH:/Library/PostgreSQL/9.3/bin/ bundle

A Note on Migrations

A couple notes after going through and fixing it so migrations work from an empty database again:

  • Always save! or equivalent so that exceptions will be raised.
  • Do not update stats or counts in the migrations. This breaks when the db structure changes later on - you'll end up trying to work on tables that haven't been created yet.
  • Plan on running rake cron to load data immediately after rake db:migrate since you can't do an update_counts from within migrations.

About

a quick website to track the number of modules in various repositories

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 67.7%
  • Ruby 24.9%
  • HTML 7.4%