浏览代码

Formats conf files

Adrien Panay 6 年前
父节点
当前提交
5274660cae
共有 2 个文件被更改,包括 35 次插入35 次删除
  1. 2 2
      tracim/development.ini.base
  2. 33 33
      tracim/wsgidav.conf.sample

+ 2 - 2
tracim/development.ini.base 查看文件

@@ -36,7 +36,7 @@ full_stack = true
36 36
 # i18n.lang = fr
37 37
 
38 38
 cache_dir = %(here)s/data
39
-# preview generator cache directory
39
+# preview generator cache directory
40 40
 preview_cache_dir = /tmp/tracim/preview/
41 41
 # file depot storage
42 42
 depot_storage_name = tracim
@@ -225,7 +225,7 @@ email.processing_mode = sync
225 225
 # radicale.client.base_url.prefix = /
226 226
 
227 227
 ## WSGIDAV
228
-wsgidav.config_path = wsgidav.conf
228
+wsgidav.config_path = %(here)s/wsgidav.conf
229 229
 ## url can be extended like 127.0.0.1/webdav
230 230
 ## in this case, you have to create your own proxy behind this url.
231 231
 ## Do not set http:// prefix.

+ 33 - 33
tracim/wsgidav.conf.sample 查看文件

@@ -1,33 +1,33 @@
1
-################################################################################
2
-# Sample WsgiDAV configuration file
3
-#
4
-# 1. Rename this file to `wsgidav.conf`
5
-# 2. Adjust settings as appropriate
6
-# 3. Run tracim as you always do :)
7
-#
8
-################################################################################
9
-
10
-################################################################################
11
-# SERVER OPTIONS
12
-#===============================================================================
13
-
14
-# host  = "localhost"
15
-# host  = "192.168.0.1"
16
-host  = "0.0.0.0"
17
-
18
-port = 3030
19
-
20
-show_history = True
21
-show_deleted = True
22
-show_archived = True
23
-
24
-manager_locks = True
25
-
26
-root_path = ''
27
-
28
-#===============================================================================
29
-# Lock Manager
30
-#
31
-# Example: Use PERSISTENT shelve based lock manager
32
-#from wsgidav.lock_storage import LockStorageShelve
33
-#locksmanager = LockStorageShelve("wsgidav-locks.shelve")
1
+################################################################################
2
+# Sample WsgiDAV configuration file
3
+#
4
+# 1. Rename this file to `wsgidav.conf`
5
+# 2. Adjust settings as appropriate
6
+# 3. Run tracim as you always do :)
7
+#
8
+################################################################################
9
+
10
+################################################################################
11
+# SERVER OPTIONS
12
+#===============================================================================
13
+
14
+# host  = "localhost"
15
+# host  = "192.168.0.1"
16
+host  = "0.0.0.0"
17
+
18
+port = 3030
19
+
20
+show_history = True
21
+show_deleted = True
22
+show_archived = True
23
+
24
+manager_locks = True
25
+
26
+root_path = ''
27
+
28
+#===============================================================================
29
+# Lock Manager
30
+#
31
+# Example: Use PERSISTENT shelve based lock manager
32
+#from wsgidav.lock_storage import LockStorageShelve
33
+#locksmanager = LockStorageShelve("wsgidav-locks.shelve")