项目作者: Zeyu-Li

项目描述 :
A Django ecommerce application. Has a working login and shopping cart :shopping_cart:!
高级语言: HTML
项目地址: git://github.com/Zeyu-Li/django_ecommerce_app.git
创建时间: 2020-04-06T16:51:27Z
项目社区:https://github.com/Zeyu-Li/django_ecommerce_app

开源协议:MIT License

下载


Django Ecommerce App

General

This is the successor of django_ecommerse_app_deprecated

This is a Django Ecommerce App with login and a shopping cart. To add new items, sign in as admin and go to Item -> + Item (top right).

How to use

To start, follow this tutorial: https://github.com/Zeyu-Li/django-tutorial#1-getting-started till pip install -r requirements.txt

Afterwards, to move into the project enter

  1. open.ps1 # in powershell

if you are on Windows

OR

  1. open.sh # in terminal

if you are on Mac or Linux

You then want to makemigrations and migrate with

  1. py manage.py makemigrations #then
  2. py manage.py migrate

Afterwards, you want an admin account so do

  1. py manage.py createsuperuser

and follow the prompts

Now you are set up and can do

  1. py manage.py runserver

and open the development server of http://127.0.0.1:8000/

no such column error?

  1. python manage.py migrate --run-syncdb

Demo

demo

^ sorry about the bad quality, size restrictions :(

Adding a new item

snap1

Purchase

snap2

Dependencies/Modules

Reuse

This code is under MIT licence.