import os
import sys
sys.path.append('~/public_html/domain1.com/')
os.environ['DJANGO_SETTINGS_MODULE'] = 'MyTestProject.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()On 4 March 2014 14:36, Walter Wang <mr.wal...@gmail.com> wrote:
> I tried my best to follow the various guides out there, but the official
> documentation here
> https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/modwsgi/ has
> different instructions than the instructions here,
> https://www.digitalocean.com/community/articles/using-mod_wsgi-to-serve-applications-on-ubuntu-12-04
Follow the digitalocean instructions.
The latest “Two Scoops of Django” book claims to have good info on deploying; I’ve not read it yet.
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
django-users...@googlegroups.com.
To post to this group, send email to
django...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/2728636a-1b69-4836-b5f4-bb95c89f39ea%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.