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 Fri Oct 03 08:03:22 -0700 2008 check in web.py 0.3 [aaronsw]
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 Sun Sep 28 23:01:34 -0700 2008 test commit [aaronsw]
file REQUISITES Fri Oct 03 07:57:28 -0700 2008 python2.6; webpy 0.3 fixes [aaronsw]
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 Thu Jul 30 20:20:02 -0700 2009 thanks pages, occupation caching, turn off erro... [Aaron Swartz]
file contacts.py Mon Nov 10 05:59:50 -0800 2008 remove sessions [asldevi]
directory import/ Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
file petition.py Tue Apr 07 05:52:29 -0700 2009 create index pages [asldevi]
file restore_usertables.sh Wed Nov 05 22:34:58 -0800 2008 script to preserve user data on db reloads [asldevi]
file save_usertables.sh Wed Nov 05 22:34:58 -0800 2008 script to preserve user data on db reloads [asldevi]
file schema.py Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
file settings.py Mon Feb 16 03:50:58 -0800 2009 change default to load all instead of current s... [asldevi]
directory static/ Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
directory templates/ Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
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/ Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
directory vendor/ Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
file webapp.py Thu Aug 13 12:37:19 -0700 2009 add support for exempt organizations (tx Noufal... [aaronsw]
file webapp_test.py Mon Mar 23 04:00:07 -0700 2009 added summarization code for lists of Congresse... [kragen]
README
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