atmos / twitrsvp
- Source
- Commits
- Network (0)
- Issues (0)
- Downloads (10)
- Wiki (1)
- Graphs
-
Branch:
master
twitrsvp /
| name | age | message | |
|---|---|---|---|
| |
.gitignore | ||
| |
Gemfile | ||
| |
LICENSE | Tue Mar 31 17:03:56 -0700 2009 | |
| |
README.md | ||
| |
Rakefile | ||
| |
TODO | Tue Mar 31 17:03:56 -0700 2009 | |
| |
lib/ | ||
| |
spec/ |
README.md
twitrsvp
Another oauth experiment. Organize folks with sinatra and twitter. Try it out on TwitRSVP.
Installation
It's a sinatra app, packaged as a gem, deployed as a rack app.
% rake repackage
% sudo gem install pkg/twitrsvp*.gem
Your basic deps look like this:
% git clone git://github.com/wycats/bundler.git
% cd bundler
% rake repackage
% sudo gem install pkg/*.gem
% hash -r
% gem_bundler
Deployment
Use passenger and a config.ru like this:
Example config.ru
require 'rubygems'
require 'twitrsvp'
DataMapper.setup(:default, "mysql://atmos:s3cr3t@localhost/twitrsvp_production")
ENV['TWIT_RSVP_READKEY'] = /\w{18}/.gen # this should really be what twitter gives you
ENV['TWIT_RSVP_READSECRET'] = /\w{24}/.gen # this should really be what twitter gives you
class TwitRSVPSite < TwitRSVP::App
set :public, File.expand_path(File.dirname(__FILE__), "public")
set :environment, :production
end
run TwitRSVPSite
testing
Just run rake...

