A Django-based web application for managing employee time and attendance.
- Clock In/Out: Simple interface for employees to log their hours using their Employee ID.
- PTO Management: Employees can submit Time Off requests.
- Admin Dashboard: Manage employees, view punch history, and approve/deny PTO requests.
To run this program, enter the following commands in your Terminal:
-
Create a virtual environment:
python3 -m venv myvenv
-
Activate the virtual environment:
- macOS/Linux:
source myvenv/bin/activate - Windows:
myvenv\Scripts\activate
- macOS/Linux:
-
Install dependencies:
pip install -r requirements.txt
-
Initialize the database:
python manage.py migrate
-
Create an Admin user (for accessing the Admin page):
python manage.py createsuperuser
(Follow the prompts to set a username and password)
-
Run the server:
python manage.py runserver
- Home Page: http://127.0.0.1:8000 - Employees can clock in/out here.
- Admin Panel: http://127.0.0.1:8000/admin - Log in with the superuser account created in step 5 to manage the system.