aboutsummaryrefslogtreecommitdiff
path: root/wsgi.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-11-23 11:02:36 +0100
committerWojtek Kosior <koszko@koszko.org>2022-11-23 11:18:02 +0100
commit2b2c70932bf6ffcd77fbe5f6c59a203299f755a5 (patch)
tree5efca6171b7f7984612a5d7b6e0d63d9a89d9b25 /wsgi.py
parent366d927d626065db29cdf4aeb92a2122683cdf73 (diff)
downloadhydrilla-website-2b2c70932bf6ffcd77fbe5f6c59a203299f755a5.tar.gz
hydrilla-website-2b2c70932bf6ffcd77fbe5f6c59a203299f755a5.zip
add WSGI script
Diffstat (limited to 'wsgi.py')
-rw-r--r--wsgi.py16
1 files changed, 16 insertions, 0 deletions
diff --git a/wsgi.py b/wsgi.py
new file mode 100644
index 0000000..d43f8e3
--- /dev/null
+++ b/wsgi.py
@@ -0,0 +1,16 @@
+# SPDX-License-Identifier: CC0-1.0
+
+# WSGI script for Hydrilla&Haketilo website.
+#
+# Copyright (C) 2022 Wojtek Kosior
+
+# Uncomment the lines below if you want to use a virtualenv installation of
+# the website package.
+
+#from pathlib import Path
+#path = Path('/path/to/virtualenv/bin/activate_this.py')
+#exec(path.read_text(), {'__file__': str(path)})
+
+from hydrilla_website import website_app as application, set_secret
+
+set_secret('please replace this with something appropriate')