Password for admin dashboard : admin#123
- In CMD/PowerShell/any Linux Terminal, create virtual environment by following this link.
- Enter this command to install Python libraries required to run this project :
pip install -r requirements.txt
- Open MySQL/MariaDB. Enter this command :
Windows :
SOURCE <path_to_file>\VOTERDB.sql
Linux :
SOURCE <path_to_file>/VOTERDB.sql
- Exit MySQL/MariaDB.
- First, enter command to run admin.py :
python admin.py
Enter localhost:5000
in web browser.
- 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.