https://github.com/enco-de/e-commerce
E-commerce website Django project with custom user model, categories and products, Carts, adding and removing cart items, Unlimited Product image gallery, Orders, and Payments, reducing the quantity of sold products, sending the order received email, clearing the cart, Order completion page generating an invoice. included Review and Rating
https://github.com/enco-de/e-commerce
bootstrap django django-application django-framework django-project ecommerce ecommerce-website html5 online-shop online-shopping online-store python3 shopping-site store web-application web-development webapp website
Last synced: 7 months ago
JSON representation
E-commerce website Django project with custom user model, categories and products, Carts, adding and removing cart items, Unlimited Product image gallery, Orders, and Payments, reducing the quantity of sold products, sending the order received email, clearing the cart, Order completion page generating an invoice. included Review and Rating
- Host: GitHub
- URL: https://github.com/enco-de/e-commerce
- Owner: EnCo-de
- Created: 2023-08-25T16:32:16.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-20T10:24:42.000Z (over 1 year ago)
- Last Synced: 2024-04-21T10:16:21.973Z (over 1 year ago)
- Topics: bootstrap, django, django-application, django-framework, django-project, ecommerce, ecommerce-website, html5, online-shop, online-shopping, online-store, python3, shopping-site, store, web-application, web-development, webapp, website
- Language: HTML
- Homepage: https://e-commerce-4pmh.onrender.com
- Size: 2.38 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-commerce
E-commerce website Django project1. Prepare Your Environment
create a new folder and navigate into it. In this folder, you’ll set up and activate a new virtual environment using your command line:
$ python -m venv env
$ python3 -m venv env
On Windows, run:
env\Scripts\activate
On Unix or MacOS, run:
$ source env/bin/activate3. Download this project files into your directory
(env) $ git clone https://github.com/EnCo-de/E-commerce.git
(env) $ cd E-commerce
4. Install Django and Dependencies into this dedicated development workspace:Since you’re working on an existing project with its dependencies already pinned in a requirements.txt file, you can install the right Django version as well as all the other necessary packages in a single command:
(env) $ python -m pip install -r requirements.txt6. Set Up a Django Project
With your virtual environment set up and activated and Django installed, you can now create a project:
(env) $ django-admin startproject .
The dot skips the top-level project folder and creates your management app and the manage.py file right inside your current working directory.7. Run set_demo.py to edit project settings
(env) $ python set_demo.py
8. Make and apply migrations
(env) $ python manage.py makemigrations
(env) $ python manage.py migrate9. Start the development server
(env) $ python manage.py runserver
Now, open a web browser and go to your local domain – http://127.0.0.1:8000/
Use the Django admin site http://127.0.0.1:8000/admin/ try logging in with the superuser account and add some product categories and products to the store.You can load some sample product data as well.
(env) $ python manage.py loaddata products.json