Skip to main content

A shop for wagtail cms

Project description

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.

  • Django >= 4.1, <= 4.2
  • Wagtail >= 4.1, <= 5.2
  • Python >= 3.9, <= 3.11

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

  • Tightly integrated with Wagtail. Create products, manage orders, configure shipping and view statistics all from the Wagtail admin.
  • Multiple payment backends. Longclaw currently supports Stripe, Braintree and PayPal (v.zero) payments.
  • Comprehensive REST API & javascript client easily loaded via a template tag
  • Create your catalogue as Wagtail pages, with complete control over your product fields
  • Easy setup. Just run longclaw start my_project to get going
  • Simple to use, simple to change. Write your frontend as you would any other wagtail website. No complicated overriding, forking etc in order to customise behaviour.

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pbahner_longclaw-7.0.0b1.tar.gz (297.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pbahner_longclaw-7.0.0b1-py3-none-any.whl (340.0 kB view details)

Uploaded Python 3

File details

Details for the file pbahner_longclaw-7.0.0b1.tar.gz.

File metadata

  • Download URL: pbahner_longclaw-7.0.0b1.tar.gz
  • Upload date:
  • Size: 297.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for pbahner_longclaw-7.0.0b1.tar.gz
Algorithm Hash digest
SHA256 49dce6894e505be53faf70403942075f77b0aaa8a9c6e632904b5a9935edb64d
MD5 ed972898fa31c43411b4f794d4175905
BLAKE2b-256 5d6ae782a4b90d5bdbf5d0e38b4a70d80884bdd82351a6bd52de672599a0876f

See more details on using hashes here.

File details

Details for the file pbahner_longclaw-7.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for pbahner_longclaw-7.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 a39c30e02d846a60b7be78ce8ad935a1562c0f5228fe95c6324334b3ebb8d3f4
MD5 cbcd8d1b057901d9010ec8dc713e4ae8
BLAKE2b-256 b5301896bf4d441c09e023587913e128285cb531ad7f746e721873863dad5d67

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page