public
Description:
Homepage: http://oss.techno-weenie.net/discussions/seinfeld-calendar
Clone URL: git://github.com/entp/seinfeld.git
technoweenie (author)
Wed Jan 07 20:51:21 -0800 2009
commit  093224b5b745f3c681ce4f60fc25c7a64fa2b5ec
tree    4e2356b319353a2508cf1f15f48a80c61045314e
parent  eda983502e92dfd0bb074e63301de3a5dc6d4741
name age message
file .gitignore Thu Dec 18 14:34:38 -0800 2008 add ruby config and callback support to json api [technoweenie]
file LICENSE Sat Jul 26 08:50:10 -0700 2008 insert progression records [technoweenie]
file README Sun Nov 02 10:39:25 -0800 2008 flatten the sinatra app (sorry to any forkers) [rick]
file Rakefile Thu Dec 18 14:34:38 -0800 2008 add ruby config and callback support to json api [technoweenie]
directory config/ Thu Dec 18 14:34:38 -0800 2008 add ruby config and callback support to json api [technoweenie]
directory lib/ Loading commit data...
directory public/ Sun Nov 02 10:39:25 -0800 2008 flatten the sinatra app (sorry to any forkers) [rick]
file seinfeld_calendar.rb
directory spec/
directory vendor/ Wed Nov 12 16:30:28 -0800 2008 vendored haml [pedro]
directory views/ Sat Jan 03 12:47:09 -0800 2009 Link to the source at entp/seinfeld instead of ... [chrisk]
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