[doc] Document change of instances location in virtualenv installation 3.23
authorDenis Laxalde <denis.laxalde@logilab.fr>
Tue, 16 Aug 2016 14:26:41 +0200
branch3.23
changeset 11445 b2eb66dfd9c6
parent 11444 e1876845fa10
child 11461 f5a4e14d1dd2
[doc] Document change of instances location in virtualenv installation Closes #14789440.
doc/changes/3.23.rst
--- a/doc/changes/3.23.rst	Tue Aug 16 14:16:10 2016 +0200
+++ b/doc/changes/3.23.rst	Tue Aug 16 14:26:41 2016 +0200
@@ -62,4 +62,14 @@
   `logilab.common.testlib.TestCase`) is no longer available.
 
 
+Development
+-----------
+
+When installed within a virtualenv, CubicWeb will look for instances data as
+in ``user`` mode by default, that is in ``$HOME/etc/cubicweb.d``, as opposed
+to ``$VIRTUAL_ENV/etc/cubicweb.d`` previously. To restore this behavior,
+explicitly set ``CW_MODE`` to ``system``. Alternatively (and preferably), the
+``CW_INSTANCES_DIR`` environment variables may be used to specify instances
+data location.
+
 .. _subtests: https://docs.python.org/3/library/unittest.html#distinguishing-test-iterations-using-subtests