Deployment

Environment creation

$ mkdir -p $YOUCKAN_HOME
$ cd $YOUCKAN_HOME
$ virtualenv .
$ source bin/activate
$ pip install youckan
$ mkdir media

As a postgresql administrator:

$ createuser youckan -P
$ createdb youckan -O youckan -E UTF8

Configuration

$ youckan genconf --ini
$ vim youckan.ini

Initialisation

$ youckan init [--noinput]

If --noinput is specified, no questions will be asked and the initialization will run in unattended mode.

You can create a super user at anytime with:

$ youckan createsuperuser

Upgrade

Upgrading is as easy as upgrading the youckan package and rerunning the initialization:

$ pip install -U youckan
$ youckan init --noinput

NGinx + uWSGI

$ youckan genconf --nginx
# or
$ youckan genconf --nginx --uwsgi

Apache 2 + mod

$ youckan genconf --apache
# or
$ youckan genconf --apache --uwsgi