• Stars
    star
    116
  • Rank 303,894 (Top 6 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 16 years ago
  • Updated over 15 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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