Skip to content

Ali-mdv/simple-shoppingapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-ShoppingApp

this is a simple shopping web-application with django, docker, postgres and nginx

install docker and docker compose before running

set your own environment variables in Dockerfile

Commands:

docker compose up --build

if you want run Just run django

  1. set database from postgres to sqlite
  2. set this environment varilabes
export PYTHONPATH=shopping_app
export DJANGO_SETTINGS_MODULE=config.settings.local # for porduction use prod
  1. create .env file like below
SECRET_KEY = 'YOUR_SECRET_KEY
DEBUG = False

#email config
EMAIL_USE_TLS = True
EMAIL_HOST_USER = your_email@gmail.com
EMAIL_HOST_PASSWORD = your_password
EMAIL_PORT = 587

# payment gateway config
MERCHANT_ID = "YOUR_MERCHANT_ID"

#if you want use sqlite database ignore it
POSTGRES_USER = 'YOUR_POSTGRES_USER'
POSTGRES_PASSWORD = "YOUR_POSTGRES_PASSWORD"
POSTGRES_DB = "YOUR_POSTGRES_DB"
POSTGRES_PORT = 5432

About

simple shopping app application with django

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages