Skip to content
This repository has been archived by the owner on Mar 20, 2020. It is now read-only.
/ shoestring Public archive
forked from funkybob/shoestring

A very simple ecommerce solution for Django

Notifications You must be signed in to change notification settings

amenasse/shoestring

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shoestring

A very simple ecommerce solution for Django

Installation

Requires Python3 and Postgresql

Install package and requirements:

$ pip install shoestring
$ pip install shoestring/requirements.txt

Start a Django project:

$ django-admin startproject shop
$ cd shop

Add shoestring apps to INSTALLED_APPS

$ vi shop/settings.py

INSTALLED_APPS = [
  ...
  'shoestring',
  'shoestring.accounts',
  'shoestring.products',
  'shoestring.orders',
  'shoestring.payments',
  'easy_thumbnails',
]

Use our User model:

AUTH_USER_MODEL = 'accounts.User'

Add default easy-thumbnails settings:

THUMBNAIL_ALIASES = {
    '': {
        'product-list': {
            'size': (90, 120),
            'upscale': True,
            'crop': 'auto'
        },
    },
}

The current theme expects to find uikit in staticfiles at shoestring/uikit/

Hook in the urls:

$ vi shop/urls.py

url(r'^shop/', include('shoestring.urls', namespace='shoestring')),

Prime the database

$ ./manage.py syncdb
...
$ ./manage.py runserver

About

A very simple ecommerce solution for Django

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 66.8%
  • HTML 21.7%
  • JavaScript 11.5%