Skip to content

Devajayantha/shipment_django

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Mini Project

This is a mini project Django-based web application about shipment .

Table of Contents


Requirements

Before setting up the project, make sure your system meets the following requirements:

  • Python: 3.11
  • Django: 5.1
  • MySQL: 8.0

Installation

Follow the steps below to set up the project on your local machine.

  1. Clone the repository:

    git clone https://github.com/Devajayantha/shipment_django.git
  2. Navigate into the project directory:

    cd shipment_django
  3. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate
  4. Install dependencies:

    pip install -r requirements.txt
  5. Copy the .env.example file to .env:

    cp .env.example .env
  6. Set up the database:

    • Configure your database connection in the .env file.
    • Run migrations to create the necessary tables:
      python manage.py migrate
  7. Run project on deplopment mode:

    python manage.py runserver

Env Variables

    DEBUG=true
    SECRET_KEY=

    DB_HOST=127.0.0.1
    DB_PORT=3306
    DB_DATABASE=
    DB_USERNAME=
    DB_PASSWORD=

Screenshoot

Here’s some screenshoot from my work.

Screenshot

Screenshot

Screenshot

Thank You

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors