Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 spec
Octocat-spinner-32 vendor
Octocat-spinner-32 views
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 Rakefile
Octocat-spinner-32 seinfeld_calendar.rb
README
seinfeld calendar
=================

http://lifehacker.com/software/motivation/jerry-seinfelds-productivity-secret-281626.php

Track your OSS Productivity with Github.

USAGE
=====

# setup your DB (see deployment section)
rake seinfeld:setup

# adds github user
rake seinfeld:add_user USER=technoweenie

# updates progress from github
# put in a nightly cron job
rake seinfeld:update

# let's start the show
ruby seinfeld_calendar.rb
open http://localhost:4567/~technoweenie

DEPLOYMENT
==========

My config.rb looks like this:

  $: << File.join(File.dirname(__FILE__), 'lib')
  require 'seinfeld/models'
  DataMapper.setup :default, 'mysql://rickybobby:shakeandbake@localhost/seinfeld'
  Seinfeld::User.github_login = 'rickybobby'
  Seinfeld::User.github_password = 'shakeandbake'
  
My config.ru (for Passenger) looks like:

  require 'rubygems'
  require 'rack'
  require 'sinatra'
  
  Sinatra::Application.default_options.update(
    :run => false,
    :env => :production,
    :raise_errors => true
  )
  
  require 'config'
  require 'seinfeld_calendar'
  
  run Sinatra.application

TODO
====
TIMEZONES
configurable db support
Gitorious support, etc
OAUTH
Something went wrong with that request. Please try again.