This is a Django-based e-commerce website.
- Python 3.x
- Git
- pip (Python package installer)
git clone https://github.com/shivalahare/e-commerce-website.gitNavigate to the project directory:
cd shop_platformIt's recommended to use a virtual environment to manage project dependencies.
-
Install
python3-venvif not installed:sudo apt install python3-venv
-
Create a virtual environment:
python3 -m venv venv
-
Activate the virtual environment:
source venv/bin/activate
-
Install
virtualenvif not installed:python -m pip install --user virtualenv
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
venv\Scripts\activate
Once the virtual environment is activated, install the project dependencies:
pip install -r requirements.txt-
Create migrations:
python manage.py makemigrations
-
Apply the migrations:
python manage.py migrate
Start the Django development server:
python manage.py runserverYou can now access the application at http://127.0.0.1:8000/.
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.
This project is licensed under the MIT License. See the LICENSE file for details.