This project implements a basic E-Commerce system in Django with two models:
- Customer: Represents a customer with
nameandemail. - Order: Represents an order placed by a customer, including
order_dateandtotal_amount.
- Python 3.x
- Django 4.x
- Git
- Clone the repository:
git clone <repository_url> cd <repository_folder>
2.Create a virtual environment:
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate3.Install dependencies:
pip install -r requirements.txt4.Apply migrations:
python manage.py migrate5.Run the development server:
python manage.py runserver