GitXplorerGitXplorer
s

debillitated

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
9efec1e870bdfae34bc8b18db2f628706935b7c2

remove text underline

sstefl committed 15 years ago
Unverified
d1e74403cdf14f24f274a0bf53bc30dd9a0d7242

member links

sstefl committed 15 years ago
Unverified
6d96c621175f041293ae4acac11e55922a8a6ae1

inf

sstefl committed 15 years ago
Unverified
3070d3f1a887a6d2ccbd67e867dbea9f257bab7a

inf

sstefl committed 15 years ago
Unverified
cd5d60fcc3e6900d6ac177b5694354e3f0af3126

infinite scroll

sstefl committed 15 years ago
Unverified
37323798cb6755b2f0f19d59398247ad04262265

who turned up

sstefl committed 15 years ago

README

The README file for this repository.

This is a Sinatra-based web application that was built to show the results of a single debate on the Digital Economy Bill, and could be used for similar purposes in the future.

You are free to use, adapt, modify this code in any way you want.

Requirements

Rubygems: sudo gem install ccsv sinata haml activesupport yaml twfy

The various parts. Whilst it is set up to run April 2010, MP details will change, and you might want to run this against a different hashtag:

  • TwapperKeeper.com can give you a download of a hashtag (in this case #debill). Save that file as tweets.csv, then run a find and replace to change double commas to comma space comma (Eg.gsub(',,',' ')) This is a #todo

  • TheyWorkForYou will give you a list of current MPs. Sign up for a TWFY API Key, edit all_current_mps.rb and run it with ruby all_current_mps.rb This will give you a file mps.yaml containing all of their info.

  • Edit bothered.yaml with the people who turned up

  • Run the webapp rackup -p 8383

  • Then view it in your browser: http://localhost:8383

  • To deploy to Heroku Follow the instructions on Heroku to set up your account with them

    (where appname is the name of your app) heroku create myappname git add . git commit -m"myapp first import" git push heroku master

    Then view your app in a browser at: http://myappname.heroku.com