summaryrefslogtreecommitdiff
path: root/examples/todo_wareweb/server.conf
diff options
context:
space:
mode:
Diffstat (limited to 'examples/todo_wareweb/server.conf')
-rw-r--r--examples/todo_wareweb/server.conf24
1 files changed, 24 insertions, 0 deletions
diff --git a/examples/todo_wareweb/server.conf b/examples/todo_wareweb/server.conf
new file mode 100644
index 0000000..70d1b49
--- /dev/null
+++ b/examples/todo_wareweb/server.conf
@@ -0,0 +1,24 @@
+# -*- python -*- Note: this file is in Python syntax
+
+import os
+
+app_name = 'todo_wareweb'
+publish_dir = os.path.join(os.path.dirname(__file__), 'web')
+sys_path = [os.path.dirname(os.path.dirname(__file__))]
+
+database = 'sqlite:%s/data.db' % os.path.dirname(__file__)
+root_path = os.path.dirname(__file__)
+
+## Server options:
+
+verbose = True
+# 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
+lint = True
+session_type = 'memory'
+show_exceptions_in_error_log = False