A cargo transport management system that allows users to create orders, add drivers, and manage their profiles.
-
Clone the repository:
bash git clone https://github.com/yourusername/cargo_transport.git cd cargo_transport
-
Create and activate a virtual environment:
bash python3 -m venv myenv source myenv/bin/activate
-
Install the dependencies:
bash pip install -r requirements.txt
-
Apply the database migrations:
bash python3 manage.py makemigrations python3 manage.py migrate
-
Create a superuser for accessing the admin panel:
bash python3 manage.py createsuperuser
-
Run the development server:
bash python3 manage.py runserver
-
Open your browser and go to
http://127.0.0.1:8000/.
The home page displays buttons for registration and login. After logging in, users can access their profile, view orders, and add drivers.
Users can create, update, and delete orders. Each order has a status: "Not Started", "In Progress", or "Completed".
Users can update their profile information, including their image and bio.
Users can add drivers through the corresponding form.
cargo_transport/ ├── manage.py ├── cargo_transport/ │ ├── init.py │ ├── settings.py │ ├── urls.py │ ├── wsgi.py ├── orders/ │ ├── init.py │ ├── admin.py │ ├── apps.py │ ├── forms.py │ ├── models.py │ ├── signals.py │ ├── urls.py │ ├── views.py │ ├── templates/ │ ├── orders/ │ ├── home.html │ ├── create_order.html │ ├── update_order.html │ ├── delete_order.html │ ├── orders_list.html │ ├── add_driver.html │ ├── migrations/ │ ├── init.py ├── templates/ │ ├── base.html │ ├── registration/ │ ├── login.html │ ├── signup.html │ ├── users/ │ ├── profile.html
This project is licensed under the MIT License. See the LICENSE file for details.