public
Description: The watchdog project.
Homepage: http://watchdog.net/
Clone URL: git://github.com/aaronsw/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 Fri Aug 29 09:42:07 -0700 2008 load responses into DB from mails; schema chang... [asldevi]
folder contacts.py Mon Aug 18 05:15:38 -0700 2008 petitions - delete and unsign; msg_type to diff... [asldevi]
folder import/ Wed Aug 27 12:27:36 -0700 2008 check in zip4.tsv generator [aaronsw]
folder petition.py Fri Aug 29 09:42:07 -0700 2008 load responses into DB from mails; schema chang... [asldevi]
folder schema.sql Tue Sep 02 11:24:46 -0700 2008 use real consistently in schema [aaronsw]
folder settings.py Sun Aug 03 07:51:06 -0700 2008 template fixes [aaronsw]
folder static/ Tue Sep 02 12:05:12 -0700 2008 implement new design for politician pages (some... [aaronsw]
folder templates/ Tue Sep 02 12:23:51 -0700 2008 Merge branch 'master' of watchdog:/home/watchdo... [aaronsw]
folder userdata.sql Fri Aug 29 09:42:07 -0700 2008 load responses into DB from mails; schema chang... [asldevi]
folder utils/ Tue Sep 02 12:23:51 -0700 2008 Merge branch 'master' of watchdog:/home/watchdo... [aaronsw]
folder vendor/ Tue Aug 26 09:09:16 -0700 2008 bug fixes - Cookies in Safari and Redirects [asldevi]
folder webapp.py Fri Aug 29 09:42:07 -0700 2008 load responses into DB from mails; schema chang... [asldevi]
folder webapp_test.py Mon Aug 25 07:46:10 -0700 2008 fix test cases to support senators [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