Welcome to the Online Leave Management System! This is a user-friendly web application built with Django, designed to help manage employee leave requests efficiently. Whether you're applying for leave, checking your leave balance, or tracking the status of your applications, this system has you covered.
- User Authentication: Secure login, logout, and password management.
- Leave Management: Easily apply for leave, view the status of your applications, and check your leave balances.
- Notifications: Receive timely updates about the status of your leave applications.
- Admin Interface: Admin users can manage users, leave types, and applications through an intuitive admin panel.
Follow these simple steps to set up the Online Leave Management System on your local machine.
Before you begin, ensure you have the following installed:
- Python 3.x: A programming language used for building this application.
- Django: A web framework for Python.
- SQLite: The default database used by this application.
Open your terminal and run the following command to clone the repository:
git clone https://github.com/ahmednule/Online_leave_Management_system.git
cd Online-leave-management-system
Creating a virtual environment helps manage dependencies for your project.
For Windows:
python -m venv venv
venv\Scripts\activate
For Linux/Mac:
python3 -m venv venv
source venv/bin/activate
Install Django using the following command:
pip install Django
Run the following command to set up the database:
python manage.py migrate
skip this process for now
To create an admin user with full access, run:
python manage.py createsuperuser
Start the server with the following command:
python manage.py runserver
Open your web browser and go to http://127.0.0.1:8000/ to access the application.
Once the application is running, you can log in, apply for leave, check your balances, and manage notifications. Admin users can access the admin interface to manage users and leave types.
We welcome contributions! Feel free to fork this project and submit pull requests. Your input helps improve the project.
For any inquiries or support, please reach out to Judy Auma at judyauma@gmail.com.
This project is licensed under the Nairobi Technical Training Institute.