Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 1.02 KB

README.md

File metadata and controls

57 lines (37 loc) · 1.02 KB

E-Commerce site

A simple E-Commerce shopping site

Screenshots

Home Products
Home Products
Login Shopping cart
Login Cart
Checkout
Checkout

Setup

This project only supports Python3. Install the python package requirements using pip.

pip install -r requirements.txt

Run the migrate command to create database tables.

python manage.py migrate

Use the createsuperuser command to create a user who has superuser privileges.

python manage.py createsuperuser

Finally run the server using the runserver command.

python manage.py runserver

Testing

Linter test using Flake8

flake8 .

Unit tests and Coverage report.

pytest

The html coverage report will be generated and saved in the htmlcov/ folder.