Ecommerce Using Django
- Python (version 3.9.10)
- Django (version 4.2.4)
- Virtual environment
Provide step-by-step instructions for setting up the project locally. Include the following:
-
Clone the Repository:
git clone https://github.com/akstechies/django-ecommerce-sqlite
-
Navigate to the Project Directory:
cd django-ecommerce-sqlite/ -
Create a Virtual Environment (Optional but Recommended):
python -m venv venv
-
Activate the Virtual Environment:
-
On Windows:
venv\Scripts\activate
-
On macOS and Linux:
source venv/bin/activate
-
-
Install Dependencies:
pip install -r requirements.txt
-
Navigate to the Project Folder:
cd ecommerce_project/ -
Run Database Migrations:
python manage.py migrate
-
Create a Superuser (Admin Account):
python manage.py createsuperuser
-
Run the Development Server:
python manage.py runserver
-
Access the Project:
Open a web browser and go to http://localhost:8000/ to access the project. You can access the admin interface at http://localhost:8000/admin/ using the superuser credentials.