Metadata-Version: 2.1
Name: coop
Version: 4.1.3
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
Provides-Extra: all
Provides-Extra: cache
Provides-Extra: mailchimp

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:

.. 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.
