I am trying to get my little django hello world example site working based on cherokee + uwsgi + django config. I want to add detailed instructions to my How-to-Guide. Can you see how/where to make adjustments?
I if have a url of www.example.com and the following directory structure: /var/www/example/ /var/www/example/static/ /var/www/example/__init__.py /var/www/example/manage.py /var/www/example/url.py /var/www/example/settings.py MEDIA_ROOT = '/var/www/example/static/' MEDIA_URL = 'http://djdev.xchg.com/static/' /var/www/example/uwsgi.conf <uwsgi> <pythonpath>/var/www/example</pythonpath> <app mountpoint="/var/www/example"> -------------- ???? <script>django_wsgi</script> </app> </uwsgi> /var/www/example/django_wsgi.py import os import django.core.handlers.wsgi os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' application = django.core.handlers.wsgi.WSGIHandler() In the Cherokee admin are the following main parameters: Virtual Servers BASICS: Virtual Server nickname: www.example.com; Document Root: /var/www/ example; Directory Indexes: ??? BEHAVIOR: Target: /var/www/example; Type: Directory; Handler: uWSGI ------------------------ I have tried to follow available documentation and user examples but none give me a simple configuration for a simple 'Hello World' Django app. PLEASE share your insights and I will document step-by-step the required configuration so others can actually use these tools. Thank you :) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.