summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLV-426 <lv-426@taproot.org.il>2015-02-15 16:36:10 +0200
committerLV-426 <lv-426@taproot.org.il>2015-02-15 16:36:10 +0200
commit107ac1da4c4be64df3162223256f4de25f9420ab (patch)
treebbae5c45892b0586783fcb9bc99c70017cc53656
parent4eae7ebcb689647fbf50b9bf14cd10f9a23b1524 (diff)
rhizi-server.conf.example: add sections
-rw-r--r--res/etc/rhizi-server.conf.example51
1 files changed, 43 insertions, 8 deletions
diff --git a/res/etc/rhizi-server.conf.example b/res/etc/rhizi-server.conf.example
index 259cda3a..d9475362 100644
--- a/res/etc/rhizi-server.conf.example
+++ b/res/etc/rhizi-server.conf.example
@@ -1,18 +1,53 @@
-# Copy this to rhizi-server.conf
-# This file is in the repository and not suitable for changes (i.e. keeping SECRET_KEY)
+# -----------------------------------------------------------------------------
+# Sample Rhizi configuration - copy this to rhizi-server.conf
+#
+
+# -----------------------------------------------------------------------------
+# General
+#
+development_mode = True
+root_path = ./deploy-local
+static_url_path = /static
+
+# -----------------------------------------------------------------------------
+# Network
+#
listen_address = 127.0.0.1
listen_port = 8080
-development_mode = True
+
+# -----------------------------------------------------------------------------
+# Data
+#
neo4j_url = http://127.0.0.1:7474
+
+# -----------------------------------------------------------------------------
+# Logging
+#
log_path = rhizi-server.log
-access_control = False
-user_db_path = ./user_db.db
+# -----------------------------------------------------------------------------
+# Flask Configuration
+# - SERVER_NAME: if adding ':port', this should match listen_port
+#
SERVER_NAME = rhizi.local:8080
-DEBUG = True
+SECRET_KEY = notverysecretbutpeppyyaya
-# Mail settings
+# use with HTTPS: SESSION_COOKIE_SECURE = True
+
+# -----------------------------------------------------------------------------
+# Mail
+#
+mail_hostname = 127.0.0.1
mail_default_sender = rhizi@localhost
feedback_recipient = feedback@localhost
-SECRET_KEY = notverysecretbutpeppyyaya
+# -----------------------------------------------------------------------------
+# Security
+#
+access_control = False
+user_db_path = ./deploy-local/etc/user_db.db
+
+# -----------------------------------------------------------------------------
+# Other
+#
+DEBUG = True