Skip to content

basileldho2003/Voting-Management-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voting Management System Project

This is my demo project of Voting Management System.

Requirements :

  1. Python (supported versions only)
  2. MySQL/MariaDB (supported versions only)

Password for admin dashboard : admin#123

Steps for installing and running the project :

  1. In CMD/PowerShell/any Linux Terminal, create virtual environment by following this link.
  2. Enter this command to install Python libraries required to run this project :
pip install -r requirements.txt
  1. Open MySQL/MariaDB. Enter this command :

Windows :

SOURCE <path_to_file>\VOTERDB.sql

Linux :

SOURCE <path_to_file>/VOTERDB.sql
  1. Exit MySQL/MariaDB.
  2. First, enter command to run admin.py :
python admin.py

Enter localhost:5000 in web browser.

  1. Then, enter command to run voter.py :
python voter.py

Enter localhost:5001 in web browser.

Note : Tested in Ubuntu 22.04 and Python 3.10. Dependencies/versions in requirements.txt may subject to change. This project has limitations and other scopes.