https://github.com/chandumaram/employee_management_system
Employee Management System
https://github.com/chandumaram/employee_management_system
customtkinter customtkinterprojects desktop-app employee-management-system pillow-library pymysql python python-desktop-application
Last synced: 8 months ago
JSON representation
Employee Management System
- Host: GitHub
- URL: https://github.com/chandumaram/employee_management_system
- Owner: chandumaram
- Created: 2025-09-10T05:15:57.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-10T09:32:13.000Z (9 months ago)
- Last Synced: 2025-09-10T13:05:43.072Z (9 months ago)
- Topics: customtkinter, customtkinterprojects, desktop-app, employee-management-system, pillow-library, pymysql, python, python-desktop-application
- Language: Python
- Homepage:
- Size: 96.7 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Employee Management System
Created Using Python, Custom-Tkinter and MySQL
## Setup Application
- Download/get code from github
`https://github.com/chandumaram/employee_management_system#`
- (Optional) If you want create virtual environment the run the following command
`virtualenv venv`
- Then activate virtual environment for that run
`venv\Scripts\activate`
- Install all required python packages
`pip install -r .\requirements.txt`
- In this project we are using MySQL and SQLite databases
- If you want to use MySQL as database, so you need to download and setup MySQL in your system
- After installed MySQL, Open `mysql_database.py` file and replace your password in line 11
- Open `ems.py` file, un-comment the line `import mysql_database as database` and comment the line `import sqlite_database as database`
- If you want to use SQLite as database, noneed to install anything
- Just open `ems.py` file, un-comment the line `import sqlite_database as database` and comment the line `import mysql_database as database`
- Then run `login.py` file to up the project
## To convert this application as .exe file
- Run the following command
- if you use MySQL database
`pyinstaller --onefile --noconsole --icon="C:\path\to\favicon.ico" --add-data "cover.jpg;." --add-data "bg.jpg;." --add-data "favicon.ico;." login.py
`
- if you use SQLite database
`pyinstaller --onefile --noconsole --icon="C:\path\to\favicon.ico" --add-data "cover.jpg;." --add-data "bg.jpg;." --add-data "favicon.ico;." --add-data "sqlite_ems.db;." login.py
`
- Then it will create build and dist folders and login.spec file
- Our `login.exe` file is placed inside the dist folder