sampleapp/README.txt
author David Douard <david.douard@logilab.fr>
Mon, 29 Feb 2016 16:16:33 +0100
changeset 11606 e245680acce3
parent 11490 addf68740dbb
permissions -rw-r--r--
[config] move config of the secret used to encrypt session's data ID in pyramid.ini (closes #11689082) Introduce a new config entry (in pyramid.ini) for this (cubicweb.session.secret) to replace the (now deprecated) pyramid-session-secret (in all-in-one.conf). So we have now 3 secrets to configure: - cubicweb.session.secret: to encrypt session's data ID stored in a cookie, - cubicweb.auth.authtkt.session.secret: to encrypt auth cookie - cubicweb.auth.authtkt.persistent.secret: to encrypt persistent session auth cookie

A sample application to test the pyramid_cubicweb library
=========================================================

Requirements
------------

System requirements
~~~~~~~~~~~~~~~~~~~

On a ubuntu 14.04::

    sudo apt-get install libgecode-dev libxml2-dev libxslt1-dev python-dev \
    libz-dev libpq-dev libtiff5-dev libfreetype6-dev

Python requirements
~~~~~~~~~~~~~~~~~~~

::

    pip install -r requirements.txt
    (cd .. && python setup.py develop)
    python setup.py develop


Cubicweb instance
~~~~~~~~~~~~~~~~~

You need a postgresql server.

::

    export CW_MODE=user
    cubicweb-ctl create blog test


Running the app
---------------

::

    pserve --reload develop.ini