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
Jasper Berghoef 985c9cbb95
Fixes color names
2018-05-26 15:56:27 +02:00
.tx adds tx config file 2017-05-31 17:10:58 +02:00
docs Bump version: 0.9.0 → 0.9.1 2017-07-11 22:22:13 +02:00
frontend Fixes color names 2018-05-26 15:56:27 +02:00
sandbox Adds stream fields to the sandbox 2017-06-02 15:00:34 +02:00
src/wagtail_personalisation Fixes color names 2018-05-26 15:56:27 +02:00
tests Add Django 1.9/1.10 and Wagtail 1.9 to tests and requirements 2017-07-11 21:58:26 +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 Adds front-end tooling 2017-05-24 11:03:35 +02:00
.travis.yml Add Django 1.9/1.10 and Wagtail 1.9 to tests and requirements 2017-07-11 21:58:26 +02:00
CHANGES Indent changelog 2017-07-11 22:21:17 +02:00
CONTRIBUTORS.rst Adds a contributors file 2017-05-29 10:00:41 +02:00
LICENSE Add MIT license 2017-05-31 10:30:38 +02:00
MANIFEST.in initial project commit 2016-11-07 11:42:06 +01:00
Makefile Add make release 2017-06-02 15:42:54 +02:00
README.rst Adjust README for ordering 2018-05-26 12:56:18 +02:00
logo.png new new logo 2016-12-13 14:26:45 +01:00
package.json Adds front-end tooling 2017-05-24 11:03:35 +02:00
screenshot.png Removes roadmap, adds screenshot 2017-05-22 13:13:28 +02:00
setup.cfg Bump version: 0.9.0 → 0.9.1 2017-07-11 22:22:13 +02:00
setup.py Add missing dependency ``pytest-pythonpath`` 2018-03-16 11:10:45 +01:00
tox.ini Add Django 1.9/1.10 and Wagtail 1.9 to tests and requirements 2017-07-11 21:58:26 +02:00
webpack.config.js Allows switching between list and dashboard view 2017-05-31 13:55:08 +02:00
yarn.lock Adds front-end tooling 2017-05-24 11:03:35 +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/LabD/wagtail-personalisation.svg?branch=master
    :target: https://travis-ci.org/LabD/wagtail-personalisation

.. image:: http://codecov.io/github/LabD/wagtail-personalisation/coverage.svg?branch=master
    :target: http://codecov.io/github/LabD/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
   :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 1.9 or 1.10 and Django 1.9, 1.10 or 1.11.

To install the package with pip::

    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',
        # ...
    ]

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