sampleapp/README.txt
author Christophe de Vienne <christophe@unlish.com>
Thu, 12 Feb 2015 19:21:39 +0100
changeset 11561 25d93d14f8b6
parent 11490 addf68740dbb
permissions -rw-r--r--
[auth] Use pyramid_multiauth It makes it easier to finely tune what parts of the default authentication stack we want to use or not. It also makes it possible for any cube to add its own policy in addition to the others. Related to #4985962

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