aboutsummaryrefslogtreecommitdiffstats
path: root/wsgi.py
diff options
context:
space:
mode:
Diffstat (limited to 'wsgi.py')
-rw-r--r--wsgi.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/wsgi.py b/wsgi.py
new file mode 100644
index 0000000..c03da7a
--- /dev/null
+++ b/wsgi.py
@@ -0,0 +1,9 @@
+APP_CONFIG = "production.ini"
+
+#Setup logging
+import logging.config
+logging.config.fileConfig(APP_CONFIG)
+
+#Load the application
+from paste.deploy import loadapp
+application = loadapp('config:%s' % APP_CONFIG)