Thanks, Brett,
"Brett Epps" wrote...
You'll need to do some research to find out how Turnkey Linux
deploys your Django app. There are multiple methods, but> the one recommended in the Django docs is to use Apache + mod_wsgi.> If Turnkey Linux uses this method, Apache should be configured with> a virtual host that points at a WSGI file that handles running your> application. Check out the Django documentation for more detailed> info on how this is set up.Yes, it uses apache2 and mod_wsgi. In the meantime, I have foundthat the last Django Turnkey Linux uses quite obsolete Django (ver. 1.1.1)which is a bit unfortunate.I am not that fluent with Linux, so I did hope that using the Django TurnKeyLinux will be a nice shortcut. It seems to me now, that I will check the documentation. > [...] The best method is to run the touch command on the WSGI file...> $ touch /path/to/wsgi/file.wsgiThe problem is that I did not find any *.wsgi file. Or I am searchingwrongly, or it is not there.> Will cause the app to be reloaded. If that doesn't work for some reason,> you could
also restart Apache. You'll have to research how to do that> for Turnkey Linux; usually you use a
command like> "sudo /etc/init.d/apache2 restart" or "sudo service httpd restart".I
did restart the whole virtual machine, which is not a problemin this phase of the development. The
things did not work.This can possibly be caused by the old Django version.Thanks for the help, PetrP.S.
Do you prefer some specific combination of a Linux distribution,Django and Python versions, the specific
SQL server... for a vmwarebox? (I have to start somewhere.)
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.