Polling app with a simple, intuitive UX that also takes care of the complexities like privacy, integrity and security behind the scenes.
docker-compose --env-file .env build
docker-compose --env-file .env up -d
docker-compose exec web bash /evoting/init_migrate_db.sh --load-template-data
virtualenv -p python3 voting
source voting/bin/activate
clone https://github.com/tameeshB/e-Voting.git
cd e-Voting
nano .env;source .env
# and edit with mysql and webmail credentials.pip install -r REQUIREMENTS.txt
python manage.py makemigrations
python manage.py migrate
python manage.py loaddata templateMigrationData.json
python manage.py runserver
polls/globals.py
file. Make sure to set a random secret key in secretHash
and clientKey
to desired password for the init console at /init
.source .env;python manage.py createsuperuser
and enter desired credentials.http://localhost/admin
./init
the client-key to be used here is the one in the polls/globals.py
.wget https://chromedriver.storage.googleapis.com/2.43/chromedriver_linux64.zip
# linuxunzip chromedriver_linux64.zip
sudo chmod +x chromedriver
export webdriver_chrome=$PWD/chromedriver
export PATH=$PATH:$PWD/chromedriver
python manage.py runserver &
# run server in background if not already startedpython manage.py test tests/
# run the testskill %1
# stop server running in background