A electoral system with a SQL database that performs caculations on the data to provide final results
Database
Color | Hex |
---|---|
Primary Color | |
Secondary Color | |
Accent Color | |
Text Color |
To run this project, you will need to add the following environment variables to your .env file
DB_USER
DB_PASS
- Install MySQL Server Here
sudo dnf install mysql-community-server
- Install Python Here
sudo dnf install python
Flask
pip install flask
mysql-connector
pip install mysql-connector-python
Clone the project
https://github.com/LadishDev/Electoral-System
Go to Project Directory
cd Electoral-System
Setup MySQL server with Scheme and data
mysql -uladish -p < /Documents/Electoral-System/sql-commands.sql
Start the python script to calculate results and host web server
python .\electoral-system.py
Distributed under the no License. See LICENSE.txt for more information.
Callum - [email protected]
Project Link: https://github.com/LadishDev/Electoral-System