Skip to content

shivalahare/e-commerce-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

E-Commerce Website

This is a Django-based e-commerce website.

Installation

Prerequisites

  • Python 3.x
  • Git
  • pip (Python package installer)

1. Clone the Repository

git clone https://github.com/shivalahare/e-commerce-website.git

Navigate to the project directory:

cd shop_platform

2. Set Up a Virtual Environment

It's recommended to use a virtual environment to manage project dependencies.

For Ubuntu/Linux:

  1. Install python3-venv if not installed:

    sudo apt install python3-venv
  2. Create a virtual environment:

    python3 -m venv venv
  3. Activate the virtual environment:

    source venv/bin/activate

For Windows:

  1. Install virtualenv if not installed:

    python -m pip install --user virtualenv
  2. Create a virtual environment:

    python -m venv venv
  3. Activate the virtual environment:

    venv\Scripts\activate

3. Install Dependencies

Once the virtual environment is activated, install the project dependencies:

pip install -r requirements.txt

4. Set Up the Database

  1. Create migrations:

    python manage.py makemigrations
  2. Apply the migrations:

    python manage.py migrate

5. Run the Development Server

Start the Django development server:

python manage.py runserver

You can now access the application at http://127.0.0.1:8000/.


Usage

Once the server is running, visit the website in your browser at http://127.0.0.1:8000/ to browse products, create an account, add items to your shopping cart, and complete purchases.


License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published