atmos / twitrsvp

Twitter Based RSVP Application

This URL has Read+Write access

name age message
file .gitignore Loading commit data...
file Gemfile
file LICENSE Tue Mar 31 17:03:56 -0700 2009 initial import of the application [atmos]
file README.md
file Rakefile
file TODO Tue Mar 31 17:03:56 -0700 2009 initial import of the application [atmos]
directory lib/
directory 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...