Git Product home page Git Product logo

sac_elections_2020's Introduction

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

sac_elections_2020's People

Contributors

gr455 avatar rtwksai avatar sal2701 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gr455 sal2701

sac_elections_2020's Issues

Remove hardcode

Remove hardcode. esp. batches as a function of current year

Remove dead files

Multiple files in the repository are a byproduct of failed attempts and serve no puropse, remove them
dbcreation.sql
/db
sac_election.env

Exposed credentials

Hey,

There are potentially exposed credentials in:

Some of these may not be critical as the elections have passed, but patterns can be drawn from available credentials and tested against other Zense projects. For instance, devPass123. Additionally, if this repo is used for elections again next year, credentials could be accidentally re-used.

If you must store credentials along with code, consider saving them as ENV variables in a file and encrypt the file before committing with githooks. Or even better, try git-secret.io.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.