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 Mon Nov 10 08:25:16 -0800 2008 use xapian for search [Aaron Swartz]
file .gitmodules Loading commit data...
file LICENSE Thu Jul 31 10:31:27 -0700 2008 license under AGPLv3 [aaronsw]
file LICENSE.txt 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
file REQUISITES
file blog.py Thu Dec 11 03:33:13 -0800 2008 fix crasher in notfound [asldevi]
file census.py Wed Sep 10 22:28:12 -0700 2008 Some fixes for merging with smartsql [jdthomas]
file config.py Fri Nov 28 04:53:59 -0800 2008 maintain state across form fillings of a politi... [asldevi]
file contacts.py
directory import/
file petition.py
file restore_usertables.sh
file save_usertables.sh
file schema.py Mon Apr 06 04:49:36 -0700 2009 let pol have a title only if he/she is in curre... [asldevi]
file settings.py
directory static/ Mon Mar 23 22:29:13 -0700 2009 fix broken maps [asldevi]
directory templates/ Tue Apr 14 04:08:00 -0700 2009 style tweaks [asldevi]
directory test/ Tue Mar 10 00:52:49 -0700 2009 bug fix in petition drafts The lesson is: Don'... [asldevi]
file userdata.sql Thu Mar 05 03:44:40 -0800 2009 draft mode for petitions run the following sql... [asldevi]
directory utils/
directory vendor/
file webapp.py
file webapp_test.py Mon Mar 23 04:00:07 -0700 2009 added summarization code for lists of Congresse... [kragen]
Main code repository for watchdog.net.
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
    # (you won't have permission to download all of it)
    # (so there will be a few errors when you do this )
    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