An e-commerce extension for Wagtail CMS
 
 
 
 
 
 
Go to file
JamesRamm 1cead7642b Make api functions writing to db atomic 2017-02-03 20:34: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 Make api functions writing to db atomic 2017-02-03 20:34: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 First commit 2017-02-03 10:04:57 +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 correct formatting 2017-02-03 10:40:53 +00:00
manage.py First commit 2017-02-03 10:04:57 +00:00
requirements.txt First commit 2017-02-03 10:04:57 +00:00
requirements_dev.txt First commit 2017-02-03 10:04:57 +00:00
requirements_test.txt First commit 2017-02-03 10:04:57 +00:00
runtests.py First commit 2017-02-03 10:04:57 +00:00
setup.cfg First commit 2017-02-03 10:04:57 +00:00
setup.py First commit 2017-02-03 10:04:57 +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 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