[doc] Add set-up of environment variables.
authorSandrine Ribeau <sandrine.ribeau@logilab.fr>
Mon, 30 Mar 2009 12:50:01 -0700
changeset 1192 82375c14eb26
parent 1191 216141cf47a3
child 1193 24486ce4dea1
[doc] Add set-up of environment variables.
doc/book/en/C011-installation.en.txt
--- a/doc/book/en/C011-installation.en.txt	Mon Mar 30 14:27:19 2009 +0200
+++ b/doc/book/en/C011-installation.en.txt	Mon Mar 30 12:50:01 2009 -0700
@@ -92,6 +92,18 @@
 Your new cubes will be placed in `/usr/share/cubicweb/cubes` and
 your applications will be placed in `/etc/cubicweb.d`.
 
+To use others directories then you will have to configure the
+following environment variables as follows: ::
+
+    export CW_CUBES_PATH=~/lib/cubes
+    export CW_REGISTRY=~/etc/cubicweb.d/
+    export CW_INSTANCE_DATA=$CW_REGISTRY
+    export CW_RUNTIME=/tmp
+
+.. note::
+    The values given above are our suggestions but of course
+    can be different.
+
 .. _ConfigurationPostgres:
 
 Postgres configuration