apache: apache config file fixed to run on apache server
authorJordan Augé <jordan.auge@lip6.fr>
Tue, 27 May 2014 13:51:07 +0000 (08:51 -0500)
committerJordan Augé <jordan.auge@lip6.fr>
Tue, 27 May 2014 13:51:07 +0000 (08:51 -0500)
apache/unfold.wsgi
myslice/settings.py [changed mode: 0755->0644]

index 2fa8416..4af2e9f 100644 (file)
@@ -1,6 +1,10 @@
 import os
 import sys
 
+path = '/var/myslice-f4f'
+if path not in sys.path:
+    sys.path.append(path)
+
 os.environ['DJANGO_SETTINGS_MODULE'] = 'myslice.settings'
 
 import django.core.handlers.wsgi
old mode 100755 (executable)
new mode 100644 (file)
index 620ab5b..70740e3
@@ -42,7 +42,7 @@ except:
 # when deployed from a package
 # this code is run by collectstatic too, so we cannot
 # assume we have ./static present already
-HTTPROOT="/usr/share/unfold"
+HTTPROOT="/var/myslice-f4f"
 # the place to store local data, like e.g. the sqlite db
 DATAROOT="/var/unfold"
 # if not there, then we assume it's from a devel tree