Skip to content

Latest commit

 

History

History
53 lines (47 loc) · 1.24 KB

README.md

File metadata and controls

53 lines (47 loc) · 1.24 KB

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 ;)