Interesting-datascience / digital-store

A pure digital store built on Python Django framework using ecommerce package.

Home Page:https://www.ischool.berkeley.edu/people/dasarathy-elayavilli-ponnappan

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Digital Store

A pure digital store built on Python Django framework using ecommerce package.

Purpose

With advent of Microservices framework and Cloud native architectures, development of responsive mobile first Progressive web applications for ecommerce sites are order of the day. With ability to do daily deployments using Blue-Green deployment pattern, we want to realize the abstraction through Python Django web framework.

Django eCommerce Framework

The motivation to use a boiler plate framework comes from the fact that, purchase process and customer experience is a vast area to be built from scratch. With the availability of Django eCommerce Framework we are able to extend it to build our cloud native architecture for a digital store.

More info on Django eCommerce Shop Framework

How to...

The Django eCommerce Framework powered by Django-SHOP uses cookiecutter to create a sample Shop App. Please follow Cookie Cutter README to set up. Alternatively, after following the python3 installation and cookie cutter installation, you can install
a) Docker
b) Clone this repository and go to storefront folder
c) Spin up docker containers using docker-compose up --build -d
d) Once done, reach out to your shop App using http://localhost:9009
e) To check status of running containers, in the terminal issue the command docker-compose ps
f) To check logs of the containers issue the command docker-compose logs
g) Finally to shutdown containers gracefully use docker-compose down and to forcefully use docker-compose kill
h) Along with this, the docker-compose.yml generated by CookieCutter (in our case it is using runserver option for development purposes) contains 3 services namely,

POSTGRES (For DB)

REDIS (For Cache)

webapp -> epdasa/storefront (For serving customer requests and hosting shop app)

Blue Green Deployment

More info on Blue Green Deployment Pattern

Deployment architecture courtesy AWS Blue Green Deployment

About

A pure digital store built on Python Django framework using ecommerce package.

https://www.ischool.berkeley.edu/people/dasarathy-elayavilli-ponnappan

License:MIT License


Languages

Language:CSS 83.2%Language:Python 13.0%Language:HTML 2.4%Language:Makefile 0.7%Language:Batchfile 0.6%Language:Dockerfile 0.1%Language:Shell 0.1%