IIT (BHU) Election Portal is a dynamic web application built on Django 1.10 that helps to conduct elections over the internet/LAN for the university. This web application is developed with the aim of reducing the hustle/fuss and human errors while conducting elections manually. It drastically reduces the resources involved and efficiently produces the result.
- Python 2.7
- Django 1.10
- PostgreSQL
-
Install PostgreSQL. See this for more details.
-
Install Python 2.7. See this for more details.
-
Install Django 1.10 using
pip
:pip install django==1.10
-
Create a superuser (admin) for handling the web app.
cd
to root of the project and enter in terminal:python manage.py makemigrations python manage.py migrate python manage.py createsuperuser
-
Enter your username, email and password.
-
Enter following in terminal to run server on localhost:
python manage.py runserver
-
Visit http://localhost:8000 to view the app. Login to admin area http://localhost:8000/admin to create, manage, edit and delete elections and users. Create election, add voters from the list of users to the election, enter the nomination and voting's start and end time.