perryjg / LegisTracker2

LegisTracker (version 2)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AJC LegiTracker

This is a Ruby-on-Rails web applicqation which allows users to track legislation through the Georgia State Assembly.

Requirements

Ruby 1.9.3; Rails 3.2.11. To install gems: bundle install.

Setup

  1. Configure a config/database.yml file to point to your database server.

  2. Create databases and tables:

    rake db:create
    rake db:migrate
    rake db:test:prepare
  3. Load data from the legistures online xml feed from the rails console:

    Bill.reload_from_xml
    
    rake db:reload_from_xml
    
  4. Load RSS feeds from the rails console:

    HouseFeed.update_from_feed
    SenateFeed.update_from_feed
    
    rake db:update_from_feeds
    

Resources

The House bill status xml feed can be found at

www1.legis.ga.gov/legis/2011_12/list/BillSummary.xml

The House vote xml feed can be found at

www1.legis.ga.gov/legis/2011_12/list/HouseVotes.xml

The Senate vote xml feed can be found at

www1.legis.ga.gov/legis/2011_12/list/SenateVotes.xml

About

LegisTracker (version 2)


Languages

Language:Ruby 85.5%Language:JavaScript 14.4%Language:Shell 0.1%