create a symlink for the wsgi application - this is for the django development server...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2013 08:51:41 +0000 (09:51 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Thu, 28 Nov 2013 08:51:41 +0000 (09:51 +0100)
unfold/wsgi.py [new symlink]
unfold/wsgi.readme [new file with mode: 0644]

diff --git a/unfold/wsgi.py b/unfold/wsgi.py
new file mode 120000 (symlink)
index 0000000..579c87b
--- /dev/null
@@ -0,0 +1 @@
+../apache/unfold.wsgi
\ No newline at end of file
diff --git a/unfold/wsgi.readme b/unfold/wsgi.readme
new file mode 100644 (file)
index 0000000..7c287ed
--- /dev/null
@@ -0,0 +1,9 @@
+not quite sure where to store the wsgi application file in the codebase
+it used to be in unfold/wsgi.py but that looked a bit awkward
+one of the reasons for that is, the apache/ config (apache/unfold.conf)
+needs to reference the installed wsgi file, so we'd rather not have this
+installed in the python library where names are not known in advance
+--
+So at some point it was decided to have it moved with the apache/ config
+The symlink here is only for the django development server to find it at run time
+see settings.py and the definition of WSGI_APPLICATION