GUI/Commands versions
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
$ sudo apt-get install python3-tk
$ sudo apt-get install python3-pil.imagetk
or check Tkinter Forum for other distribution or Windows or MAC
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
- 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!
$ python Election2020_GUI.py
or
$ python3 Election2020_GUI.py
Linux version coming soon!
- Johri Mustapha(GUI)
- Ziad Lamiae(Databases)