Ballot Curing team project for EN.601.310 Software for Resilient Communities
See our website here
Flask API endpoints are in api/
.
Please see API README for API configuration.
State ingest programs, daily querying programs, and ballot statistics programs are in db/
.
Quick-start: source exports.sh
If you would like to manually set things up:
The BALLOT_CURING_PATH
, PYTHONPATH
, and FLASK_APP
environment variables must be set.
cd ballot-curing-backend/
export BALLOT_CURING_PATH=$PWD
export PYTHONPATH=$PYTHONPATH:$PWD:$PWD/db/shared
export FLASK_APP=$PWD/api/src/app.py
Set up variables for state configurations in config.ini
. A sample configuration is provided.