summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas NOEL <tnoel@entrouvert.com>2012-04-29 14:14:13 (GMT)
committerThomas NOEL <tnoel@entrouvert.com>2012-04-29 14:14:13 (GMT)
commitb4fa6f8c3001b7c30b7b1c1957b8958ebb705d62 (patch)
tree25940d3310d98b874d9e90f8a5e5265ae97ba618
parent3468ab9b6e96763991e9d1630914405b1bd20907 (diff)
downloadsurveillao-b4fa6f8c3001b7c30b7b1c1957b8958ebb705d62.zip
surveillao-b4fa6f8c3001b7c30b7b1c1957b8958ebb705d62.tar.gz
surveillao-b4fa6f8c3001b7c30b7b1c1957b8958ebb705d62.tar.bz2
new virtualenv home
-rw-r--r--surveillao.wsgi6
-rwxr-xr-xupdate-ao.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/surveillao.wsgi b/surveillao.wsgi
index e001bcf..5af7fc9 100644
--- a/surveillao.wsgi
+++ b/surveillao.wsgi
@@ -1,9 +1,9 @@
-# just an example
+# wsgi application for "surveillao"
import os, sys
-sys.path.append('/home/thomas/surveillao.ve/')
-sys.path.append('/home/thomas/surveillao.ve/surveillao/')
+sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/')
+sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/surveillao/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
diff --git a/update-ao.py b/update-ao.py
index ce5f444..d62fcc7 100755
--- a/update-ao.py
+++ b/update-ao.py
@@ -7,10 +7,10 @@ import datetime
import site
# virtualenv
-site.addsitedir("/home/thomas/surveillao.ve/lib/python2.5/site-packages")
+site.addsitedir("/var/vhosts/ao.entrouvert.org/virtualenv/lib/python2.6/site-packages")
# django init
-sys.path.append('/home/thomas/surveillao.ve/')
-sys.path.append('/home/thomas/surveillao.ve/surveillao/')
+sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/')
+sys.path.append('/var/vhosts/ao.entrouvert.org/virtualenv/surveillao/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
from surveillao.base.models import Feed