You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: readme
+1
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ DROPBOX_HOME: the directory dropbox updates, synced to NOI's account
10
10
PGPASSWORD: the password for your postgres user
11
11
PGUSER: the user name of your postgres user
12
12
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
13
14
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.
14
15
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
0 commit comments