commit 485339c8fa9001dd2fa00b4085dbedac73bb9a82
tree b999930218c19002b110956bb392b52248adf061
parent 47d39958153d2de96b09b74e8dab42c64c100cdd
tree b999930218c19002b110956bb392b52248adf061
parent 47d39958153d2de96b09b74e8dab42c64c100cdd
seinfeld /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Apr 20 14:51:25 -0700 2009 | |
| |
Capfile | Mon Apr 20 14:51:34 -0700 2009 | |
| |
LICENSE | Sat Jul 26 08:50:10 -0700 2008 | |
| |
README.rdoc | Mon Apr 20 15:41:34 -0700 2009 | |
| |
Rakefile | Mon Apr 20 14:51:33 -0700 2009 | |
| |
config/ | Mon Apr 20 15:41:34 -0700 2009 | |
| |
lib/ | Mon Apr 20 14:51:32 -0700 2009 | |
| |
public/ | Mon Apr 20 16:55:18 -0700 2009 | |
| |
seinfeld_calendar.rb | Mon Apr 20 17:15:13 -0700 2009 | |
| |
spec/ | Mon Apr 20 14:51:31 -0700 2009 | |
| |
vendor/ | Mon Apr 20 14:51:26 -0700 2009 | |
| |
views/ | Mon Apr 20 16:55:18 -0700 2009 |
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
