Browse Source

Formats conf files

Adrien Panay 7 years ago
parent
commit
5274660cae
2 changed files with 35 additions and 35 deletions
  1. 2 2
      tracim/development.ini.base
  2. 33 33
      tracim/wsgidav.conf.sample

+ 2 - 2
tracim/development.ini.base View File

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

+ 33 - 33
tracim/wsgidav.conf.sample View File

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")