summaryrefslogtreecommitdiff
path: root/examples/filebrowser/server.conf
blob: da36acb69ca4d2bac08aec5dace52ea5cea2c74d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# -*- python -*- Note: this file is in Python syntax

import os

app_template = 'wareweb_zpt'
app_name = 'filebrowser'
framework = 'wareweb'
root_path = os.path.dirname(__file__)
publish_dir = os.path.join(root_path, 'web')

## Server options:

verbose = False
# The name of the server-type to start:
server = 'wsgiutils'
# If true, files will be regularly polled and the server restarted
# if files are modified:
reload = True
# If true, tracebacks will be shown in the browser:
debug = True
show_exceptions_in_error_log = False

browse_path = os.path.join(root_path, 'test-data')

if os.path.exists(os.path.join(root_path, 'local.conf')):
    include('local.conf')