To install the project, follow these steps:
- Make sure you have Python installed on your system.
- Clone the repository to your local machine.
- Open a terminal and navigate to the project directory.
- Run the following command to install the required dependencies:
pip install -r requirements.txt
To run the project, follow these steps:
- Run the following commands to create the database tables:
python manage.py makemigrations
python manage.py migrate
- Create a superuser account that will have administrative privileges by running the following command:
python manage.py createsuperuser
Follow the prompts to enter the username and password for the superuser.
- Start the development server by running the following command:
python manage.py runserver
- Access the admin panel by visiting
http://localhost:8000/admin
in your web browser. - Log in using the superuser credentials created earlier.
- Create new areas that correspond to different regions or locations for waste collection.
- Access the registration page of the application by visiting
http://localhost:8000/register
in your web browser. - Create a new collector account for each area defined in the previous step.
- Access the registration page of the application by visiting
http://localhost:8000/register
in your web browser. - Create a new user account for each area defined in the previous step.
- Access the login page of the application by visiting
http://localhost:8000/login
in your web browser. - Log in using the credentials of a collector or user account.
Once logged in, users and collectors can perform various actions based on their respective roles. Users can request waste collection, view collection history, and manage their account. Collectors can view assigned collection requests, update the status of collections, and manage their account.
Contributions to the Waste Management System project are welcome! provided that you've been granted with access!!. If you have any ideas, suggestions, or bug reports, please open an issue on the project's GitHub repository.
This project is Private licensed.