Re: cherokee + uwsgi + django configuration

2010-01-03 Thread yml
Hello,
I have done several post on my blogs about how to setup django
projects using cherokee and uWSGI : 
http://yml-blog.blogspot.com/search/label/uWSGI
The first 2 are the most interesting for you :
  * http://yml-blog.blogspot.com/2009/11/how-to-set-up-cherokee-and-uwsgi.html
  * 
http://yml-blog.blogspot.com/2009/11/setting-up-django-project-with-cherokee.html

another great resources are the cherokee documentation :
  * http://www.cherokee-project.com/doc/cookbook_uwsgi.html
If you are more a visual person you can also look at this screencast :
  * http://www.cherokee-project.com/screencasts.html#django_uwsgi

Regards,
--yml

On Dec 25 2009, 12:28 am, LarryEitel  wrote:
> 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 ofwww.example.comand 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
> 
>     /var/www/example
>         -- 
>         django_wsgi
>     
> 
>
> /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.




cherokee + uwsgi + django configuration

2009-12-24 Thread LarryEitel
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

/var/www/example
-- 
django_wsgi



/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.