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 pythonFlask
pip install flaskmysql-connector
pip install mysql-connector-pythonClone the project
https://github.com/LadishDev/Electoral-SystemGo to Project Directory
cd Electoral-SystemSetup MySQL server with Scheme and data
mysql -uladish -p < /Documents/Electoral-System/sql-commands.sqlStart the python script to calculate results and host web server
python .\electoral-system.pyDistributed under the no License. See LICENSE.txt for more information.
Callum - developer@ladish.dev
Project Link: https://github.com/LadishDev/Electoral-System