Skip to content

amirpsd/django_seiko_shop

Repository files navigation

Django_seiko_shop

django

Django_seiko_shop an intermediate shop app Written with Python 3.9 and Django Framework 3.2.

The purpose of this project was to see how to build a shop app with Django .

Features

  • Ability to cart and select the color and size of the product to buy.
  • Ability to apply a coupons code to purchase the product.
  • Ability to add products and articles to favorites.
  • Advanced search filter product.
  • Register by email confirmation using tokens.
  • Personal information management panel.
  • Production-ready configuration for Static Files, Database Settings, Gunicorn, Ngnix, Docker.
  • Easy installation.
  • Use the PostgreSQL database to store data.

Technologies used

Requirements

install Docker

To run this project, you must install Docker and docker-compose.

and also install docker-compose.

How to install this project

Clone the project

git clone https://github.com/amirpsd/django_seiko_shop.git && cd django_seiko_shop && cp .env-sample .env && cp .env.db-sample .env.db && rm .env-sample .env.db-sample

create docker network

docker network create web_network
docker network create nginx_network

create docker volume

docker volume create seiko_postgresql
docker volume create src_static_volume
docker volume create src_media_volume

run project

docker-compose up --build -d

run nginx container

cd nginx
docker-compose up --build -d

congratulations. You have successfully run the project.

Important

If you do not have Google recaptcha code,take the link below and add it to .env (PUBLIC_KEY) and (PRIVATE_KEY)

https://www.google.com/recaptcha/about/

LICENSE

see the LICENSE file for details