shoumitro-cse / ecommerce_project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Django E-commerce Project

A Django-based E-commerce project with user management, product listings, orders, and reviews.

Table of Contents

Installation

  1. Clone the Repository:

    git clone https://github.com/your-username/ecommerce-project.git
    cd ecommerce-project
  2. Create a Virtual Environment:

    python -m venv venv
  3. Activate the Virtual Environment:

  • Windows:

    venv\Scripts\activate
  • Linux/Mac:

    source venv/bin/activate
  1. Install Dependencies:

     pip install -r requirements.txt
  2. Database Migration:

     python manage.py makemigrations
     python manage.py migrate
  3. Project Clone & Run the Development Server:

    # Python version 3.xx
    git clone https://github.com/shoumitro-cse/ecommerce_project.git
    cd ecommerce-project
    python -m venv venv
    source ./venv/bin/activate
    pip install -r requirements/dev.txt
    python manage.py makemigrations
    python manage.py migrate
    python manage.py runserver
  4. **Installation (using Docker Compose): **

    git clone https://github.com/shoumitro-cse/ecommerce_project.git
    cd ecommerce-project
    docker-compose up --build -d
    # or
    docker-compose up --build
    
    # username & password
    username: admin@gmail.com
    password: 1111

Run Tests

python manage.py test

API Documentation

  go to ---> http://localhost:8000/api/docs/

About


Languages

Language:Python 99.6%Language:Dockerfile 0.4%