Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby JavaScript
Branch: master

removing name "hack" from show_group_calendar

Signed-off-by: rick <technoweenie@gmail.com>
latest commit 485339c8fa
Jeffrey Chupp authored technoweenie committed
Failed to load latest commit information.
config apparently Sinatra::Application is the new default
lib/seinfeld Fixing one bug the specs noticed.
public add jquery widget, courtesy of github.com/lachlanhardy/seinfeld-badge
spec Bringing specs to current, oops.
vendor Fixing a bug where the caching code would return nil everything after…
views add jquery widget, courtesy of github.com/lachlanhardy/seinfeld-badge
.gitignore
Capfile capified
LICENSE insert progression records
README.rdoc apparently Sinatra::Application is the new default
Rakefile Adding descriptions to all seinfeld rake tasks.
seinfeld_calendar.rb removing name "hack" from show_group_calendar

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

Something went wrong with that request. Please try again.