6
0
Fork 0
Rule-based personalisation for Wagtail CMS maintained by cavemanon for RocksForMedia.
This repository has been archived on 2023-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
Boris Besemer 686f180081 Bump version: 0.14.0 → 0.15.0 2021-07-09 11:00:14 +02:00
.github/workflows chore(ci): trigger github actions on pr 2021-06-28 12:08:58 +02:00
.tx adds tx config file 2017-05-31 17:10:58 +02:00
docs Bump version: 0.14.0 → 0.15.0 2021-07-09 11:00:14 +02:00
frontend Merge branch 'develop' into feature/djangoconf-sprint 2018-05-26 10:48:33 +02:00
sandbox Fix typo 2020-11-25 16:40:15 +01:00
src/wagtail_personalisation Remove obsolete line 2020-11-25 15:54:32 +01:00
tests Fix test errors 2021-06-24 07:57:31 +02:00
.editorconfig Codestyle fixes (flake8) 2017-05-28 09:13:08 +02:00
.eslintrc Adds front-end tooling 2017-05-24 11:03:35 +02:00
.gitignore Merge preakholt changes 2019-03-15 11:21:14 +01:00
.travis.yml Take up wagtail 2.11 in Travis test matrix and tox settings 2021-06-24 08:16:29 +02:00
CHANGES postmerge fixes 2019-03-15 11:46:44 +01:00
CONTRIBUTORS.rst Update contributors list with all the committers 2018-06-08 18:03:50 +02:00
LICENSE Add MIT license 2017-05-31 10:30:38 +02:00
MANIFEST.in Update manifest to include missing js files 2017-11-13 14:58:20 +02:00
Makefile only test for wagtail2 and django2 on python3 2018-05-26 09:54:56 +02:00
README.rst Add width and height to logo in README 2018-07-17 17:14:44 +02:00
logo.png Feature/documentation (#170) 2018-07-17 16:59:32 +02:00
logo_bw.png Feature/documentation (#170) 2018-07-17 16:59:32 +02:00
package.json Change all mentions of LabD urls to wagtail urls 2018-05-26 16:26:59 +02:00
screenshot.png Removes roadmap, adds screenshot 2017-05-22 13:13:28 +02:00
setup.cfg Bump version: 0.14.0 → 0.15.0 2021-07-09 11:00:14 +02:00
setup.py Bump version: 0.14.0 → 0.15.0 2021-07-09 11:00:14 +02:00
tox.ini fix(tox): use correct format command for current package 2021-06-28 12:15:24 +02:00
webpack.config.js Allows switching between list and dashboard view 2017-05-31 13:55:08 +02:00
yarn.lock Update test matrix to include new Django and Wagtail versions 2019-08-22 09:36:27 +02:00

README.rst

.. start-no-pypi

.. image:: https://readthedocs.org/projects/wagtail-personalisation/badge/?version=latest
     :target: http://wagtail-personalisation.readthedocs.io/en/latest/?badge=latest

.. image:: https://travis-ci.org/wagtail/wagtail-personalisation.svg?branch=master
    :target: https://travis-ci.org/wagtail/wagtail-personalisation

.. image:: http://codecov.io/github/wagtail/wagtail-personalisation/coverage.svg?branch=master
    :target: http://codecov.io/github/wagtail/wagtail-personalisation?branch=master

.. image:: https://img.shields.io/pypi/v/wagtail-personalisation.svg
    :target: https://pypi.python.org/pypi/wagtail-personalisation/

.. end-no-pypi

.. image:: logo.png
   :height: 261
   :width: 300
   :scale: 50
   :alt: Wagxperience
   :align: center

Wagtail Personalisation
=======================

Wagtail Personalisation is a fully-featured personalisation module for
`Wagtail CMS`_. It enables editors to create customised pages
- or parts of pages - based on segments whose rules are configured directly
in the admin interface.

.. _Wagtail CMS: http://wagtail.io/


.. image:: screenshot.png


Instructions
------------
Wagtail Personalisation requires Wagtail 2.0 or 2.1 and Django 1.11 or 2.0.

To install the package with pip:

.. code-block:: console

    pip install wagtail-personalisation

Next, include the ``wagtail_personalisation``, ``wagtail.contrib.modeladmin``
and ``wagtailfontawesome`` apps in your project's ``INSTALLED_APPS``:

.. code-block:: python

    INSTALLED_APPS = [
        # ...
        'wagtail.contrib.modeladmin',
        'wagtail_personalisation',
        'wagtailfontawesome',
        # ...
    ]

Make sure that ``django.contrib.sessions.middleware.SessionMiddleware`` has
been added in first, this is a prerequisite for this project.

.. code-block:: python

    MIDDLEWARE = [
        'django.contrib.sessions.middleware.SessionMiddleware',
        # ...
    ]


Documentation
-------------

You can find more information about installing, extending and using this module
on `Read the Docs`_.

.. _Read the Docs: http://wagtail-personalisation.readthedocs.io


Sandbox
-------

To experiment with the package you can use the sandbox provided in
this repository. To install this you will need to create and activate a
virtualenv and then run ``make sandbox``. This will start a fresh Wagtail
install, with the personalisation module enabled, on http://localhost:8000
and http://localhost:8000/cms/. The superuser credentials are
``superuser@example.com`` with the password ``testing``.