Commits

Vincent Hillenbrink  committed 28fdeb0

Text update

  • Participants
  • Parent commits 39ccbc3

Comments (0)

Files changed (2)

 simply copy the mysite/deploy/example.wsgi to mysite/deploy/local.wsgi,
 and add something like this to your httpd.conf::
 
-    WSGIPythonHome /Users/.virtualenvs/django-environments # Optional
-    WSGIScriptAlias / /Users/foobar/repos/django-environments/mysite/deploy/local.wsgi
+    WSGIPythonHome /Users/spanky/.virtualenvs/django-environments # Optional
+    WSGIScriptAlias / /Users/spanky/repos/django-environments/mysite/deploy/local.wsgi
 
 The 'local' in local.wsgi will automatically make sure settings.env.local
 is used. Create other .wsgi files for other environment settings.

File mysite/deploy/example.wsgi

 # Copy this file to <environment>.wsgi to automatically use settings.env.<environment>
 # Example Apache configuration:
 # WSGIPythonHome /var/virtualenvs/development # Optional
-# WSGIScriptAlias / /Users/foobar/repos/django-environments/mysite/deploy/local.wsgi
+# WSGIScriptAlias / /Users/spanky/repos/django-environments/mysite/deploy/local.wsgi
 
 import os, site, sys
 import django.core.handlers.wsgi