sampleapp/README.txt
author Christophe de Vienne <christophe@unlish.com>
Mon, 22 Sep 2014 09:40:43 +0200
changeset 11512 bb548010b390
parent 11490 addf68740dbb
permissions -rw-r--r--
Use lightweight sessions Provides a lightweight version of repo.connect() that does not keep track of opened sessions. The speed gain on a mostly static front page is about 5% Warning ! This means that, for now, the "session_open" and "session_close" hooks are NOT called anymore.

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