2021-07-27-23-48-25-trim_iHZpJWxx_DcNe.mp4
Simple django e-commertce website.
- Python 3.7.6
- virtualenv
- All other requirments in requirments.txt file
- Python - backend handling
- Django - using Django version 2.2
- Stripe - Stripe for payment
- Google API - Google OAuth 2.0
- Template - MDBootstrap free e-commerce template.
You should use minimum Python 3.7.6 to run.
First clone this repository
git clone https://github.com/emrecoskun705/e_commerce.git
Install and create virtual environment
pip install virtualenv
virtualenv env
Install, create and start virtual environment
pip install virtualenv
virtualenv env
.\env\Scripts\activate
Then install all the requirments for project
pip install -r requirements.txt
Create a file named '.env' then copy the variables in '.env.copy' to '.env' then fill the values for those variables
Now, run the project from command line
python manage.py runserver
Creating superuser
python manage.py createsuperuser
To test and complete the order, stripe webhook must be working.
First, install Stripe CLI Then run this command
stripe listen --forward-to localhost:8000/webhooks/stripe/