Skip to content

Commit 8e30f1a

Browse files
author
Nat Gaertner
committed
updating readme
1 parent 00de641 commit 8e30f1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

readme

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ DROPBOX_HOME: the directory dropbox updates, synced to NOI's account
1010
PGPASSWORD: the password for your postgres user
1111
PGUSER: the user name of your postgres user
1212
PGDB: the name of the postgres DB you're using
13+
add a file with a .pth extension (doesn't matter what you call it. I call it home.pth) to the virtual environment dir/lib/python2.7/site_packages with the content just being a line with the absolute path to the cleanbip home dir
1314
run a script to create process units. unit_functions/distribute_state_confs_office_holders.py is an example of how to do this. It creates an election/state folder in process_units. In the state folder, it creates an __init__.py from templates/unit_init.py, and links candidate/office_holder, voterfile, ed_map, and state_conf_data files.
1415
run run.py -d to unzip the voterfile, compress it down to unique district lines, and create the districts.py file used by ed_map
1516
run run.py -a to build everything from scratch

0 commit comments

Comments
 (0)