Home

Awesome

Longclaw

Call For Maintainers

If you are interested in developing this project, please get in touch https://github.com/JamesRamm/longclaw/issues/375

Pypi Version Codecov Status Build Status Code Health

An e-commerce extension for Wagtail CMS

Checkout the documentation

Image of the dashboard

Project Status

We are working to upgrade the package for the latest versions of Django and Wagtail. While doing this we may need to change the way the package is structured as well as making breaking changes to the code. If you want to use Longclaw in a project, please use the latest release (1.0.2) until we have finished the upgrade.

Currently supported versions

We are currently running the tests against the following versions of Python, Django and Wagtail.

Developers

If you are interested in working on this project, please use the Development setup instructions below to get started.

Quickstart

Install Longclaw:

pip install longclaw

Setup a Longclaw project

longclaw start my_project

Go to project directory and create missing migrations

python manage.py makemigrations home catalog

Do migrations for whole project and run

python manage.py migrate
python manage.py loadcountries
python manage.py createsuperuser
python manage.py runserver

Features

Screenshots

Order Detail

Development setup

Work in progress

The following instructions are for setting up a development environment for Longclaw while we work on the upgrade. If you want to use Longclaw in a project, please use the latest release (1.0.2) until we have finished the upgrade.

Create a virtualenv and install the requirements

python3 -m venv venv
source venv/bin/activate
pip install -e ".[testing]"

Install and build the frontend

The frontend is built using node and webpack. The version of node required is v12 (LTS). We recommend using nvm to manage node versions.

cd longclaw/client

Optional: If you are using nvm, you can run nvm use to set the correct version of node.

Install the dependencies and build the frontend

npm install --no-save
npm run build

Run the tests

make test

Run the tests with TOX

make test-all