public
Description: The watchdog project.
Homepage: http://watchdog.net/
Clone URL: git://github.com/aaronsw/watchdog.git
Click here to lend your support to: watchdog and make a donation at www.pledgie.com !
name age message
file .gitignore Thu Jul 31 10:04:15 -0700 2008 add all Makefile targets to gitignore [aaronsw]
file LICENSE Thu Jul 31 10:31:27 -0700 2008 license under AGPLv3 [aaronsw]
file Makefile Wed Jul 23 13:56:49 -0700 2008 generate njs files from parser [aaronsw]
file README Fri Jul 25 15:37:58 -0700 2008 fix install instructions [aaronsw]
file REQUISITES Wed May 07 23:12:49 -0700 2008 Oops, forgot to check in the change to REQUISITES. [kragen]
file blog.py Wed Jul 30 07:40:05 -0700 2008 display pvs data; blog post [aaronsw]
file config.py Loading commit data...
file contacts.py
directory import/
file petition.py
file schema.py
file schema.sql
file settings.py Sun Aug 03 07:51:06 -0700 2008 template fixes [aaronsw]
directory static/
directory templates/
file userdata.sql
directory utils/
directory vendor/
file webapp.py
file webapp_test.py
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