sampleapp/README.txt
author Christophe de Vienne <christophe@unlish.com>
Sun, 02 Nov 2014 23:36:22 +0100
changeset 11521 bf813ae7bf9d
parent 11490 addf68740dbb
permissions -rw-r--r--
Added tag pyramid_cubicweb-version-0.1.1, pyramid_cubicweb-debian-0.1.1-1 for changeset 9f3b9e610c3d

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