Metadata-Version: 2.4
Name: coop
Version: 7.4.0
Summary: Standard base to build Wagtail sites from
Author-email: Neon Jungle <developers@neonjungle.studio>
Requires-Python: <4.0,>=3.10
Requires-Dist: django-htmx<1.27.0,>=1.26.0
Requires-Dist: django<6.1,>=5.2
Requires-Dist: jinja2>=3.1.0
Requires-Dist: psycopg[binary]<4.0.0,>=3.2.6
Requires-Dist: pytz
Requires-Dist: sentry-sdk[django]>=2.13.0
Requires-Dist: wagtail-cache<3.1.0,>=3.0.0
Requires-Dist: wagtail-factories~=4.4.0
Requires-Dist: wagtail-icomoon
Requires-Dist: wagtail-metadata==5.0.0
Requires-Dist: wagtail<7.5.0,>=7.4.0
Provides-Extra: cache
Requires-Dist: diskcache~=5.2.0; extra == 'cache'
Provides-Extra: mailchimp
Requires-Dist: mailchimp3~=3.0.0; extra == 'mailchimp'
Provides-Extra: s3
Requires-Dist: collectfasta<4.0.0,>=3.2.1; extra == 's3'
Requires-Dist: django-storages[s3]~=1.14.0; extra == 's3'
Provides-Extra: vite
Requires-Dist: django-vite<3.2.0,>=3.0.0; extra == 'vite'
Provides-Extra: webpack
Requires-Dist: django-webpack-loader~=1.8.0; extra == 'webpack'
Description-Content-Type: text/x-rst

Coop - base for all (most) Neon Jungle sites
============================================

This is a base to build all Neon Jungle sites off.
This package contains all the common code shared
between sites, with the ideal Neon Jungle site containing only
model definitions, templates, and front end assets.

Making a release
----------------

Upgrade the version in ``pyproject.toml``.
Coops version stays in step with Wagtail. i.e. Coop 2.4.x uses Wagtail 2.4.x.
Point releases are used to add features during a Wagtail version lifespan.

Update the CHANGELOG. Please.

Tag your release:

After your branch has been merged to master, checkout master locally, pull remote master and

.. code-block:: bash

    $ git tag "x.y.z"
    $ git push --tags

And you are done! Gitlab is set up to automatically push the new package to pypi when a tag is pushed.


Local dev
---------

Create a virtual environment, activate and install the requirements:

.. code-block:: bash

    $ python3 -m venv venv
    $ source venv/bin/activate
    $ pip install poetry
    $ poetry install


First time you should run migrations and setup a superuser:

.. code-block:: bash

    $ ./manage.py migrate
    $ ./manage.py createsuperuser


You can run and debug the project locally using `./manage.py runserver`, or included is a launch.json for vscode to debug using the debugger.
