An intuitive web application to conduct the SAC elections securely. Hosted at sac-election.herokuapp.com.
-
Clone the repository
git clone https://github.com/heckerfr0d/SACelection.git
-
Resolve system dependencies (platform-specific)
-
Create a python virtual environment
python3 -m venv path/to/virtualenv source path/to/virtualenv/bin/activate
-
Resolve python dependencies
pip install -r requirements.txt
-
Set up the local database (Assuming you have postgres service running locally)
createdb test psql -U username -d test -a -f testdb.sql
-
Run the application
python3 wsgi.py // flask development server or gunicorn wsgi:app // gunicorn production server
-
Open the browser and navigate to localhost to access the application.
-
Refer user manual for further instructions :p