Repository :
http://git.fedorahosted.org/cgit/fedocal.git
On branch : master
---------------------------------------------------------------
commit 4198e7ca03b8725d20ac66e2d19be8c152c4fc92
Author: Pierre-Yves Chibon <pingou(a)pingoured.fr>
Date: Sat Nov 17 19:46:43 2012 +0100
Add an example wsgi file for fedocal
---------------------------------------------------------------
fedocal.wsgi | 12 ++++++++++++
1 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/fedocal.wsgi b/fedocal.wsgi
new file mode 100644
index 0000000..b04ebe4
--- /dev/null
+++ b/fedocal.wsgi
@@ -0,0 +1,12 @@
+#-*- coding: UTF-8 -*-
+
+import os
+## Set the environment variable pointing to the configuration file
+os.environ['FEDOCAL_CONFIG'] = '/path/to/your/own/fedocal.cfg'
+
+## The following is only needed if you did not install fedocal
+## as a python module (for example if you run it from a git clone).
+#import sys
+#sys.path.insert(0, '/path/to/fedocal/')
+
+from fedocal import APP as application