public
Fork of entp/seinfeld
Description:
Homepage:
Clone URL: git://github.com/technoweenie/seinfeld.git
seinfeld / README
100644 60 lines (43 sloc) 1.258 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
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
cd app
ruby seinfeld_calendar.rb
open http://localhost:4567/~technoweenie
 
DEPLOYMENT
==========
 
My app/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 app/config.ru (for Passenger) looks like:
 
  require 'rubygems'
  require 'rack'
  require 'sinatra'
  
  Sinatra::Application.default_options.update(
    :run => false,
    :env => :production,
    :views => '/path/to/seinfeld/app/views', # sinatra looks in the wrong place
    :raise_errors => true
  )
  
  require 'config'
  require 'seinfeld_calendar'
  
  run Sinatra.application
 
TODO
====
 
configurable db support
Gitorious support, etc
OAUTH