Metadata-Version: 2.1
Name: coop
Version: 6.1.2
Summary: Standard base to build Wagtail sites from
Home-page: https://gitlab.com/neonjungle/coop
Author: Neon Jungle
Author-email: developers@neonjungle.studio
License: BSD License
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Framework :: Django
Classifier: License :: OSI Approved :: BSD License
Requires-Dist: wagtail~=6.1.0
Requires-Dist: django<=5.0,>=4.2
Requires-Dist: psycopg[binary]~=3.1.0
Requires-Dist: pytz>=0
Requires-Dist: Jinja2~=3.1.0
Requires-Dist: django-htmx~=1.17.0
Requires-Dist: django-honeypot~=1.1.0
Requires-Dist: wagtail-metadata~=5.0.0
Requires-Dist: wagtail-icomoon
Requires-Dist: wagtail-cache~=2.4.0
Requires-Dist: wagtail-factories~=4.2.0
Requires-Dist: sentry-sdk
Provides-Extra: all
Requires-Dist: mailchimp3~=3.0.0; extra == "all"
Requires-Dist: diskcache~=5.2.0; extra == "all"
Provides-Extra: cache
Requires-Dist: diskcache~=5.2.0; extra == "cache"
Provides-Extra: mailchimp
Requires-Dist: mailchimp3~=3.0.0; extra == "mailchimp"
Provides-Extra: vite
Requires-Dist: django-vite~=2.1.0; extra == "vite"
Provides-Extra: webpack
Requires-Dist: django-webpack-loader~=1.8.0; extra == "webpack"

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 ``coop/_version.py``.
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 .


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.
