Skip to content

Latest commit

 

History

History
86 lines (67 loc) · 2.71 KB

README.md

File metadata and controls

86 lines (67 loc) · 2.71 KB

Election2020

GUI/Commands versions

Download

To Download this software clone this repositorie or Download it as zip.

git clone https://github.com/Salah-Zkara/Election-Py.git
cd Election-Py

Requirements

Install Tkinter

apt

$ sudo apt-get install python3-tk

$ sudo apt-get install python3-pil.imagetk

or check Tkinter Forum for other distribution or Windows or MAC

Install other modules

to run the program you have to install the required modules so open the terminal/cmd in the root folder of the program and run this command

$ pip install -r requirements.txt

or

$ pip3 install -r requirements.txt

Oracle Tables setup

  • First of all, you should have ORACLE database installed and working on your computer.
  • Modify the connection string with yours, which is located in "./.resources/connection.txt" like the follow: "username/password@localhost/ServiceName".
  • Run installDB.py file and click install to create the required tables. $ python installDB.py or $ python3 installDB.py
  • Run Election2020_GUI_Admin.py file and add the wanted elected persons. $ python Election2020_GUI_Admin.py or $ python3 Election2020_GUI_Admin.py
  • You can add/delete the elected persons and users with the Election2020_GUI_Admin interface!

Execution

GUI

- Windows

$ python Election2020_GUI.py

or

$ python3 Election2020_GUI.py

- Linux

Linux version coming soon!

Links

GitHub followers

Supervisors:

  • Johri Mustapha(GUI)
  • Ziad Lamiae(Databases)