App to facilitate SAC elections. Ensures databse integrity through hashing.
Use branch 'master'
- Copy docker-compose.yml file
cp docker-compose.yml.example docker-compose.yml
- Change the docker-compose.yml file and change credentials
- Copy settings.py file
cp sac_elections/sac_elections/settings.py.example sac_elections/sac_elections/settings.py
- Change the credentials (such as app_secret) in the file. Make sure to match DB credentials to those set in the docker-compose.yml
- Copy nginx config file
cp production/nginx/sac_elections.conf.example production/nginx/sac_elections.conf
- Run command
docker-compose build
- Run command
docker-compose up
Use branch 'staging2'
- Copy docker-compose.yml file
cp docker-compose.yml.example docker-compose.yml
- Copy settings.py file
cp sac_elections/sac_elections/settings.py.example sac_elections/sac_elections/settings.py
- Run command
docker-compose build
- Run command
docker-compose up
Note: Any credentials found in the commit history have been destroyed ;)