equal
deleted
inserted
replaced
34 privileges on the system (`export CW_MODE=user`) |
34 privileges on the system (`export CW_MODE=user`) |
35 |
35 |
36 * use local checkout of cubicweb on system wide instances (requires root |
36 * use local checkout of cubicweb on system wide instances (requires root |
37 privileges on the system (`export CW_MODE=system`) |
37 privileges on the system (`export CW_MODE=system`) |
38 |
38 |
39 Here is the default resource directories settings according to start mode: |
39 Here is the default resource directories settings according to mode: |
40 |
40 |
41 * 'system': :: |
41 * 'system': :: |
42 |
42 |
43 CW_INSTANCES_DIR = /etc/cubicweb.d/ |
43 CW_INSTANCES_DIR = /etc/cubicweb.d/ |
44 CW_INSTANCES_DATA_DIR = /var/lib/cubicweb/instances/ |
44 CW_INSTANCES_DATA_DIR = /var/lib/cubicweb/instances/ |
48 |
48 |
49 CW_INSTANCES_DIR = ~/etc/cubicweb.d/ |
49 CW_INSTANCES_DIR = ~/etc/cubicweb.d/ |
50 CW_INSTANCES_DATA_DIR = ~/etc/cubicweb.d/ |
50 CW_INSTANCES_DATA_DIR = ~/etc/cubicweb.d/ |
51 CW_RUNTIME_DIR = /tmp |
51 CW_RUNTIME_DIR = /tmp |
52 |
52 |
|
53 |
|
54 .. envvar:: CW_MODE |
|
55 Resource mode: user or system |
|
56 |
53 .. envvar:: CW_CUBES_PATH |
57 .. envvar:: CW_CUBES_PATH |
54 |
|
55 Augments the default search path for cubes |
58 Augments the default search path for cubes |
|
59 |
|
60 .. envvar:: CW_INSTANCES_DIR |
|
61 Directory where cubicweb instances will be found |
|
62 |
|
63 .. envvar:: CW_INSTANCES_DATA_DIR |
|
64 Directory where cubicweb instances data will be written |
|
65 |
|
66 .. envvar:: CW_RUNTIME_DIR |
|
67 Directory where pid files will be written |
|
68 |
|
69 .. envvar:: CW_MIGRATION_DIR |
|
70 Directory where cubicweb migration files will be found |
|
71 |
56 |
72 |
57 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
73 :license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses |
58 """ |
74 """ |
59 __docformat__ = "restructuredtext en" |
75 __docformat__ = "restructuredtext en" |
60 _ = unicode |
76 _ = unicode |