For example, if you are using uWSGI 0.9.2.6 you can use an XML document similar 
to this:

<uwsgi>
    <pythonpath>/srv/python-environments/voxinfinitus/</pythonpath>
    <pythonpath>/srv/python-environments/</pythonpath>
    <env>DJANGO_SETTINGS_MODULE=voxinfinitus.settings</env>
    <module>django.core.handlers.wsgi:WSGIHandler()</module>
    <master/>
    <processes>6</processes>
    <socket>/tmp/cherokee/voxi-live.sock</socket>
    <chmod/>
</uwsgi>
Make sure that the user that is executing Cherokee can write to your socket 
path.

Then whenever you want to see changes, just set up a script to rm the socket 
path. No need to reset uWSGI.

Good luck! Let me know if there's any other questions I might be able to help 
with.

On Nov 1, 2010, at 3:21 PM, Max Countryman wrote:

> Karim, I would set it up using a UNIX socket. Then all you have to do is rm 
> the socket path. :) There is no need to kill uWSGI in that case.
> 
> On Nov 1, 2010, at 3:13 PM, Karim Gorjux wrote:
> 
>> On Sun, Oct 31, 2010 at 01:27, Max Countryman <m...@me.com> wrote:
>>> Yes, absolutely. :D Good luck!
>> 
>> Max, I'm trying with uwsgi and Cherokee. Seems to work, but if I edit
>> the code, I have to kill the uwsgi process to see the modification on
>> the browser. Is that normal?
>> 
>> -- 
>> K.
>> Blog Personale: http://www.karimblog.net
>> 
>> -- 
>> 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.
>> 
> 
> -- 
> 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.
> 

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

Reply via email to