Skip to content

A django app to facilitate the online SAC elections in college, using Outlook Auth

Notifications You must be signed in to change notification settings

zense/sac_elections_2020

Repository files navigation

sac_elections

App to facilitate SAC elections. Ensures databse integrity through hashing.

Intstallation

End Usage:

Use branch 'master'

  1. Copy docker-compose.yml file
cp docker-compose.yml.example docker-compose.yml
  1. Change the docker-compose.yml file and change credentials
  2. Copy settings.py file
cp sac_elections/sac_elections/settings.py.example sac_elections/sac_elections/settings.py
  1. Change the credentials (such as app_secret) in the file. Make sure to match DB credentials to those set in the docker-compose.yml
  2. Copy nginx config file
cp production/nginx/sac_elections.conf.example production/nginx/sac_elections.conf
  1. Run command
docker-compose build
  1. Run command
docker-compose up

Development:

Use branch 'staging2'

  1. Copy docker-compose.yml file
cp docker-compose.yml.example docker-compose.yml
  1. Copy settings.py file
cp sac_elections/sac_elections/settings.py.example sac_elections/sac_elections/settings.py
  1. Run command
docker-compose build
  1. Run command
docker-compose up

Note: Any credentials found in the commit history have been destroyed ;)

About

A django app to facilitate the online SAC elections in college, using Outlook Auth

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •