Digital Product E-commerce (DPE) is a software platform to buy and sell digital products. This web application allows users to buy digital products and download it.This is a simple MultiVendor e-commerce website built with Django (Ptyhon) and Stripe is added as payment processor.In this website, Vendors (Stores) can register and add their products.And Users can visit the product and order by paying with Debit/Credit Card (Stripe is Used).
- Digital Product E-commerce is under development phase.
-
Install Git Version Control [ https://git-scm.com/ ]
-
Install Python Latest Version [ https://www.python.org/downloads/ ]
-
Install Pip (Package Manager) [ https://pip.pypa.io/en/stable/installing/ ]
Alternative to Pip is Homebrew
Django framework by python for admin panel and backend HTML,CSS and JavaScript for web front-end. Stripe is added as payment processor.
- Manage Category (Add, Update, Filter and Delete)
- Manage Products (Add, Update, Filter and Delete)
- Manage Users (Update, Filter and Delete)
- Manage Orders (View and Process)
- Add Products
- Update Profile
- Gets Notification When an Order is made by Users
- Get Orders and Manage Them
- Add to Cart
- Pay with Debit/Credit Card and Order
- While Checkout, User should give the address to keep as record
- Get Email Notification about the confirmation of the order
1. Create a Folder where you want to save the project
2. Create a Virtual Environment and Activate
Install Virtual Environment First
$ pip install virtualenv
Create Virtual Environment
For Windows
$ python -m venv venv
For Mac
$ python3 -m venv venv
Activate Virtual Environment
For Windows
$ source venv/scripts/activate or goto venv/Scripts enter "cmd" then "activate"
For Mac
$ source venv/bin/activate
3. Clone this project
$ git clone https://github.com/aioont/digital_product_ecommerce.git
Then, Enter the project
$ cd digital_product_ecommerce
4. Install Requirements from 'requirements.txt'
$ pip install -r requirements.txt
5. Add the hosts
- Got to settings.py file
- Then, On allowed hosts, Add [‘*’].
ALLOWED_HOSTS = ['*']
No need to change on Mac.
6. Now Run Server
Command for PC:
$ python manage.py runserver
Command for Mac:
$ python3 manage.py runserver
7. Login Credentials
Create Super User (Admin)
Command for PC:
$ python manage.py createsuperuser
Command for MAC:
$ python3 manage.py createsuperuser
Then Add Email, Username and Password
*Install python and git
- Initial Setup - In terminal
cmd
mkdir dpe
cd dpe
pip3 install virtualenv
virtualenv -p python3 env
source env/Scripts/activate or open cmd in env/Scripts and run "activate"
cd ../..
- Install django and dependencies
pip install django
git clone https://github.com/aioont/digital_product_ecommerce.git
cd digital_product_ecommerce
pip install -r requirements.txt
- Run and view application by entering > http://127.0.0.1:8000/ in browser
python manage.py runserver
- Create Super User (Admin)
python manage.py createsuperuser
Use this credentials to login into http://127.0.0.1:8000/admin