Skip to content

Latest commit

 

History

History
20 lines (18 loc) · 1.19 KB

steps-readme.md

File metadata and controls

20 lines (18 loc) · 1.19 KB

Prerequisites

Setup steps

  • 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

Run Project

  • 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.