An e-commerce extension for Wagtail CMS
 
 
 
 
 
 
Go to file
JamesRamm 5d432b31d3 Order view front end 2017-02-10 09:06:35 +00:00
.github First commit 2017-02-03 10:04:57 +00:00
docs First commit 2017-02-03 10:04:57 +00:00
longclaw Order view front end 2017-02-10 09:06:35 +00:00
.coveragerc First commit 2017-02-03 10:04:57 +00:00
.editorconfig First commit 2017-02-03 10:04:57 +00:00
.gitignore Order view front end 2017-02-10 09:06:35 +00:00
.travis.yml First commit 2017-02-03 10:04:57 +00:00
AUTHORS.rst First commit 2017-02-03 10:04:57 +00:00
CHANGELOG.rst First commit 2017-02-03 10:04:57 +00:00
CONTRIBUTING.rst First commit 2017-02-03 10:04:57 +00:00
LICENSE First commit 2017-02-03 10:04:57 +00:00
MANIFEST.in First commit 2017-02-03 10:04:57 +00:00
Makefile First commit 2017-02-03 10:04:57 +00:00
README.rst Update README 2017-02-06 17:14:28 +10:00
manage.py First commit 2017-02-03 10:04:57 +00:00
requirements.txt React front end for orders 2017-02-09 22:13:28 +00:00
requirements_dev.txt Update requirements_dev.txt 2017-02-07 20:15:58 +10:00
requirements_test.txt Fix for #9 2017-02-06 08:34:23 +00:00
runtests.py just make travis ok 2017-02-07 09:14:25 +00:00
setup.cfg First commit 2017-02-03 10:04:57 +00:00
setup.py Provides react based front end for order detail, with dummy actions for fulfill/refund 2017-02-10 08:26:21 +00:00
tox.ini First commit 2017-02-03 10:04:57 +00:00

README.rst

=============================
Longclaw
=============================

.. image:: https://badge.fury.io/py/longclaw.svg
    :target: https://badge.fury.io/py/longclaw

.. image:: https://travis-ci.org/JamesRamm/longclaw.svg?branch=master
    :target: https://travis-ci.org/JamesRamm/longclaw

.. image:: https://codecov.io/gh/JamesRamm/longclaw/branch/master/graph/badge.svg
    :target: https://codecov.io/gh/JamesRamm/longclaw

A shop for `Wagtail CMS <https://github.com/wagtail/wagtail>`_

Quickstart
----------
Install Wagtail::

    pip install wagtail

Install longclaw::

    pip install git+https://github.com/JamesRamm/longclaw.git

Add it to your `INSTALLED_APPS`:

.. code-block:: python

    INSTALLED_APPS = (
        ...
        'longclaw.products',
        'longclaw.orders',
        'longclaw.checkout',
        'longclaw.basket',
        ...
    )

Add longclaw's URL patterns:

.. code-block:: python

    from longclaw.basket.urls import urlpatterns as basket_urls
    from longclaw.checkout.urls import urlpatterns as checkout_urls

    urlpatterns = [
        ...
        url(r'^/api/', include(basket_urls, namespace='longclaw')),
        url(r'^/api/', include(checkout_urls, namespace='longclaw')),
        ...
    ]

Features
--------

* TODO

Running Tests
-------------

Does the code actually work?

::

    source <YOURVIRTUALENV>/bin/activate
    (myenv) $ pip install tox
    (myenv) $ tox

Credits
-------

Tools used in rendering this package:

*  Cookiecutter_
*  `cookiecutter-djangopackage`_

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage