- Python version 3.12.0
- PostgreSQL version 16.1
- API Key generated from 2factor.
- App Password generated from Google account, refer Sign in with app passwords.
- Create Digital_Voting Database in PostgreSQL.
- In settings.py, configure DB USER, DB PASSWORD, EMAIL_HOST_USER, EMAIL_HOST_PASSWORD and TWO_FACTOR_API_KEY.
pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
- Login to Django Administration Page using superuser and add details of superuser in EC_Admins.
- Navigate to Login Page and select Login as Admin, add Voter details, add Candidate details, generate election and logout from Admin dashboard.
- Click on Register and fill Voter registration form, record and upload a video of 5-10 seconds for face registration.
- Login as Voter, Click on Election, select Candidate, record and upload a video of 5-10 seconds for face verification, enter SMS OTP and Email OTP.
- Login as Admin, complete election and generate result.