Skip to content
This repository

The watchdog project.

branch: master
Octocat-spinner-32 import add make .crawlwyr February 14, 2012
Octocat-spinner-32 se include se db February 23, 2012
Octocat-spinner-32 static oops, put in wrong place February 23, 2012
Octocat-spinner-32 templates fix govtrack link March 26, 2012
Octocat-spinner-32 test bug fix in petition drafts March 10, 2009
Octocat-spinner-32 utils clarify no-se logic February 23, 2012
Octocat-spinner-32 vendor fix bug August 13, 2009
Octocat-spinner-32 .gitignore include se db February 23, 2012
Octocat-spinner-32 .gitmodules check in web.py 0.3 October 03, 2008
Octocat-spinner-32 LICENSE license under AGPLv3 July 31, 2008
Octocat-spinner-32 LICENSE.txt license under AGPLv3 April 17, 2009
Octocat-spinner-32 Makefile generate njs files from parser July 23, 2008
Octocat-spinner-32 Procfile wsgifunc February 14, 2012
Octocat-spinner-32 README test commit September 29, 2008
Octocat-spinner-32 REQUISITES python2.6; webpy 0.3 fixes October 03, 2008
Octocat-spinner-32 blog.py fix crasher in notfound December 11, 2008
Octocat-spinner-32 census.py Some fixes for merging with smartsql September 10, 2008
Octocat-spinner-32 config.py thanks pages, occupation caching, turn off errors, no blank corps July 31, 2009
Octocat-spinner-32 contacts.py remove sessions November 10, 2008
Octocat-spinner-32 petition.py create index pages April 07, 2009
Octocat-spinner-32 requirements.txt ok, not going to get xappy to work on heroku right now February 23, 2012
Octocat-spinner-32 restore_usertables.sh script to preserve user data on db reloads November 06, 2008
Octocat-spinner-32 save_usertables.sh script to preserve user data on db reloads November 06, 2008
Octocat-spinner-32 schema.py add support for exempt organizations (tx Noufal Ibrahim) August 13, 2009
Octocat-spinner-32 settings.py fix bug February 14, 2012
Octocat-spinner-32 userdata.sql draft mode for petitions March 05, 2009
Octocat-spinner-32 webapp.py turn off feedback forwarder February 23, 2012
Octocat-spinner-32 webapp_test.py added summarization code for lists of Congresses, for later display o… March 23, 2009
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
Something went wrong with that request. Please try again.