On Fri, 2011-04-15 at 14:18 +0200, Vincenzo Ampolo wrote:
> Hi,
> 
> I'm trying to set up uwsgi to work with pyramid. For now i ended up with
> a uwsgi + pyramid setup working invoking uwsgi in this way:
> 
> goshawk@earth:~/Projects/milo/milo_app$ uwsgi --http 127.0.0.1:8080
> --ini-paste development.ini
> 
> where in development.ini there is :
> 
> [uwsgi]
> socket = /tmp/milo_uwsgi.sock
> master = true
> processes = 1
> wsgi-file = pyramid.wsgi
> 
> and pyramid.wsgi is:
> 
> from pyramid.paster import get_app
> application = get_app(
>   'development.ini', 'main')
> 
> Is there a way to make uswgi work without the pyramid.wsgi file ?
> 
> I've also tried to make it works with latest cherokee using the .ini
> file for the uwsgi configuration but i receive an "application not
> found" error.
> 
> Did anybody go through this ?
> 
> Thanks 
> 

I fixed and made it work with cherokee using absolute paths in both
pyramid.wsgi and in the .ini.

But my questions still remains, is it possible to deploy a pyramid app
without using a dedicated wsgi file? Is it possible to make these urls
relative and not absolute?
-- 
Vincenzo Ampolo
http://vincenzo-ampolo.net
http://goshawknest.wordpress.com

_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to