This is an Ecommerce store based on Django 2.2
and python 3.6
- Categorizing products by adding categories and subcategories
- Adding Products with details and pictures
- OAuth including Google
- Payment with stripe
- User Review for products
- Searching for Products
- User favorite list
- Saving user addresses
-
Clone the repository and navigate to the directory:
git clone https://github.com/fatemehkarimi/ecommerce_store.git cd ecommerce_store
-
Setup virtual env and install dependancies:
pipenv shell pipenv sync
-
Build dockerfile:
sudo docker build .
-
run docker image:
sudo docker-compose up -d
-
migrate django project:
sudo docker-compose exec web python3 manage.py migrate
-
Navigate to localhost to see the homepage.
-
Admin dashboard is available at localhost/admin. to access the dashboard, first create a superuser:
sudo docker-compose exec web python3 manage.py createsuperuser
-
to use payment of website, add your stripe account public and private keys to file
conffidentials.py
inecommerce_store
subdirectory.STRIPE_TEST_PUBLISHABLE_KEY = 'YOUR_PUBLIC_KEY' STRIPE_TEST_SECRET_KEY = 'YOUR_PRIVATE_KEY'