An e-commerce extension for Wagtail CMS
 
 
 
 
 
 
Go to file
Alex 86099c5113 Merge pull request #3 from JamesRamm/master
Update fork
2017-02-10 13:12:29 +10:00
.github First commit 2017-02-03 10:04:57 +00:00
docs First commit 2017-02-03 10:04:57 +00:00
longclaw Create product.html 2017-02-07 18:26:44 +10: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 Update README 2017-02-06 17:14:28 +10:00
manage.py First commit 2017-02-03 10:04:57 +00:00
requirements.txt Update requirements.txt 2017-02-07 17:42:34 +10: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 py2 compatibility 2017-02-07 09:23:23 +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