Skip to content
plotti edited this page Sep 13, 2011 · 4 revisions

Check it out at:

https://github.com/plotti/TwitterZeit/

It good to have some experience with ruby & git

Install used gems:

  • Twitter(for the twitter API)
  • Sinatra (webframework) & Haml
  • Pony (sending mails)
  • Chimps (getting the "strength of ties")
  • Readability (getting the "raw" text) or pismo (getting the right "div" on the website)
  • Delayed_jobs (creates the newspaper in the background)

Set up your config files

  • config.yaml
  • database.yaml
  • environment.rb

Migrate your database

  • require 'environment.rb'
  • ActiveRecord::Migrator.migrate("db") – performs the migration

Set up your data directory

  • mkdir /data

Ready to go

  • use ./delayed_job run (to see what is happening in the background)