django-shop-example

Example project for the django Shop.

BSD-3-CLAUSE License

Stars
13
Committers
2

===================
django-shop-example

A django shop example that works on django 1.8 with a own branch for grunt/bootstrap_.

How to run

Linux

::

git clone https://github.com/fivethreeo/django-shop-example.git
cd django-shop-example

virtualenv shop_env

source ./shop_env/bin/activate
pip install -r requirements.txt
pip install PIL
pip uninstall south # fix setup.py issues with 3rdparty for django 1.8

python manage.py syncdb --no-initial-data
python manage.py syncdb # to load fixtures with natural keys, fails if tables are not present
python manage.py runserver --insecure

# testing using django-better-test
python manage.py help test

Windows

First make sure PIL is available. Then:

::

git clone https://github.com/fivethreeo/django-shop-example.git
cd django-shop-example

virtualenv shop_env --system-site-packages

shop_env\Scripts\activate.bat
pip install -r requirements.txt
pip uninstall south # fix setup.py issues with 3rdparty for django 1.8

python manage.py syncdb --no-initial-data
python manage.py syncdb # to load fixtures with natural keys, fails if tables are not present
python manage.py runserver --insecure

# testing using django-better-test
python manage.py help test

Point your browser to http://127.0.0.1:8000/

.. _branch for grunt/bootstrap: https://github.com/fivethreeo/django-shop-example/tree/bootstrap