equal
deleted
inserted
replaced
73 |
73 |
74 |
74 |
75 class ServerConfiguration(CubicWebConfiguration): |
75 class ServerConfiguration(CubicWebConfiguration): |
76 """standalone RQL server""" |
76 """standalone RQL server""" |
77 name = 'repository' |
77 name = 'repository' |
78 if os.environ.get('APYCOT_ROOT'): |
|
79 root = os.environ['APYCOT_ROOT'] |
|
80 elif CubicWebConfiguration.mode == 'dev': |
|
81 BACKUP_DIR = CubicWebConfiguration.RUNTIME_DIR |
|
82 else: |
|
83 BACKUP_DIR = '/var/lib/cubicweb/backup/' |
|
84 |
78 |
85 cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set(['sobjects']) |
79 cubicweb_appobject_path = CubicWebConfiguration.cubicweb_appobject_path | set(['sobjects']) |
86 cube_appobject_path = CubicWebConfiguration.cube_appobject_path | set(['sobjects', 'hooks']) |
80 cube_appobject_path = CubicWebConfiguration.cube_appobject_path | set(['sobjects', 'hooks']) |
87 |
81 |
88 options = merge_options(( |
82 options = merge_options(( |