public
Fork of aaronsw/watchdog
Description: The watchdog project.
Homepage: http://watchdog.net/
Clone URL: git://github.com/dfdeshom/watchdog.git
Search Repo:
name age message
folder .gitignore Thu Jul 31 10:04:15 -0700 2008 add all Makefile targets to gitignore [aaronsw]
folder LICENSE Thu Jul 31 10:31:27 -0700 2008 license under AGPLv3 [aaronsw]
folder Makefile Wed Jul 23 13:56:49 -0700 2008 generate njs files from parser [aaronsw]
folder README Fri Jul 25 15:37:58 -0700 2008 fix install instructions [aaronsw]
folder REQUISITES Wed May 07 23:12:49 -0700 2008 Oops, forgot to check in the change to REQUISITES. [Kragen Javier Sitaker]
folder blog.py Wed Jul 30 07:40:05 -0700 2008 display pvs data; blog post [aaronsw]
folder config.py Thu Jul 17 05:51:38 -0700 2008 formatting and cleanup [aaronsw]
folder contacts.py Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder import/ Mon Aug 18 20:19:26 -0700 2008 added historical_voting.py [dfdeshom]
folder petition.py Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder schema.sql Wed Aug 13 06:33:50 -0700 2008 wyr - using votesmart data; schema change for t... [asldevi]
folder settings.py Sun Aug 03 07:51:06 -0700 2008 template fixes [aaronsw]
folder static/ Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder templates/ Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder userdata.sql Thu Jul 17 05:51:38 -0700 2008 formatting and cleanup [aaronsw]
folder utils/ Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder vendor/ Fri Aug 01 06:07:17 -0700 2008 xmltramp upgrade [aaronsw]
folder webapp.py Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder webapp_test.py Mon Jul 21 15:16:17 -0700 2008 fix bug causing some reps not to display [aaronsw]
README
Main repository for the watchdog project.
http://watchdog.net/

CONTENTS:

    README       # this file
    REQUISITES   # things you need to install for this to work

    data/
      # The raw data that powers the site. This is not checked 
      # into git, but can be downloaded (see below).
      
      crawl/     # incoming data dumps
        almanac/
        census/
        govtrack/
        votesmart/
      parse/     # JSON files from parsing the data
      load/      # SQL from loading into the DB (eventually)
    
    import/      # various import code
      crawl/
      parse/
        manual/  # Data files that have been created by hand.
      load/
    
    utils/       # utility functions
        
    schema.sql   # our database schema
    static/      # static files for the webserver
    templates/   # templates for the website
    webapp.py    # the main code of the web app

INSTALL:

    # checkout the source code
    git clone watchdog.net:~watchdog/git/dev.git watchdog
    cd watchdog
    
    # download a copy of the data sources
    make sync
    cd import
    
    # create the database
    createdb watchdog_dev
    make
    
    # this will parse, process, and import all the data
    
    cd ..
    
    # run the unit tests
    make test
    
    # start the webserver
    make run