No description or website provided.
Pull request Compare This branch is 73 commits behind technoweenie:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
db
lib
log
public
test
views
.gems
.gitignore
Capfile
LICENSE
README.rdoc
Rakefile
config.ru

README.rdoc

Seinfeld Calendar

Track your OSS Productivity with Github.

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

Usage

Setup the initial database and start the application.

rake seinfeld:setup
ruby seinfeld_calendar.rb

Once you add a user, it will be accessible like so:

open http://localhost:4567/~technoweenie

Add a user from GitHub.

rake seinfeld:add USER=technoweenie

Update all progresses from GitHub, should be ran nightly.

rake seinfeld:update USER=

For development testing, use this command to reset and update your user

rake seinfeld:reset USER=technoweenie

Deployment

My seinfeld.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 rackup.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