Il giorno 27/set/2010, alle ore 14.25, Max Countryman ha scritto:

> I've followed a setup for uWSGI previously discussed here and set up an xml 
> file that pretty much contains everything I was doing on the command line 
> (Thanks Roberto!):
> 
> wsgi.xml
> ---
> <uwsgi>
>    <pythonpath>/usr/local/django/voxi/</pythonpath>
>    <pythonpath>/usr/local/django/</pythonpath>
>    <env>DJANGO_SETTINGS_MODULE=voxi.settings</env>
>    <module>django.core.handlers.wsgi.WSGIHandler()</module>
>    <master/>
>    <processes>6</processes>
>    <socket>/tmp/cherokee/voxi.sock</socket>
>    <chmod/>
> </uwsgi>
> 
> 
> I'm wondering what, if anything, I need to do to make this work with 
> virtualenv? Is it as simple as running './uwsgi -x wsgi.xml -H voxi'?
> 
> __

Yes but try to use absolute path for venv.

By the way i suggest you to include the virtualenv in the xml file

<home>/path_to/voxi</home>

--
Roberto De Ioris
http://unbit.it
JID: [email protected]

_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to