You can access the project website at candonga.pythonanywhere.com using the username and password 'candonga'.
myEcommerce is a Django-based eCommerce application designed to provide a seamless online shopping experience. The project is structured to demonstrate Django's capabilities in managing an eCommerce platform, including product listing, user authentication, and cart management. Additionally, it includes a chatbot feature that answers questions about the site's content, specifically for the keyboard sales manager.
- Python 3.x
- Django 3.x
- SQLite (default database)
-
Clone the repository:
git clone https://github.com/yosbelm/myEcommerce.git cd myEcommerce
-
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use `venv\Scripts\activate`
-
Install the required packages:
pip install -r requirements.txt
-
Apply migrations and run the server:
python manage.py migrate python manage.py runserver
-
Access the application:
Open your browser and go to
http://127.0.0.1:8000/
.
To access the admin panel:
-
Create a superuser:
python manage.py createsuperuser
-
Log in to the admin panel at
http://127.0.0.1:8000/admin
.
Products can be added via the admin panel. Navigate to the Products
section and add new products with their details.
- User authentication (registration, login, logout)
- Product listing
- Shopping cart
- Order management
- Chatbot for answering questions about the site's content, specifically for the keyboard sales manager
myEcommerce/
│
├── ecommerceApp/
│ ├── migrations/
│ ├── static/
│ ├── templates/
│ ├── __init__.py
│ ├── admin.py
│ ├── apps.py
│ ├── models.py
│ ├── tests.py
│ └── views.py
│
├── ecommerceProject/
│ ├── __init__.py
│ ├── asgi.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
│
├── db.sqlite3
├── manage.py
└── requirements.txt
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch
- Commit your changes:
git commit -am 'Add new feature'
- Push to the branch:
git push origin feature-branch
- Create a new Pull Request.