/SACelection

A secure user friendly platform to conduct SAC elections.

Primary LanguagePython

About

An intuitive web application to conduct the SAC elections securely. Hosted at sac-election.herokuapp.com.

Running locally

  1. Clone the repository

    git clone https://github.com/heckerfr0d/SACelection.git
  2. Resolve system dependencies (platform-specific)

    1. Python
    2. PostgreSQL
  3. Create a python virtual environment

    python3 -m venv path/to/virtualenv
    source path/to/virtualenv/bin/activate
  4. Resolve python dependencies

    pip install -r requirements.txt
  5. Set up the local database (Assuming you have postgres service running locally)

    createdb test
    psql -U username -d test -a -f testdb.sql
  6. Run the application

    python3 wsgi.py     // flask development server or
    gunicorn wsgi:app   // gunicorn production server
  7. Open the browser and navigate to localhost to access the application.

  8. Refer user manual for further instructions :p

Contributors