Re: [Twisted-Python] running several services from a single app

2011-03-31 Thread Jeroen van Veen
I've done something simular in https://github.com/phrearch/hwios/blob/master/services/web_ui/service.py Probably not the best example, but works for me. kind regards, Jeroen On Thursday, March 31, 2011 08:45:49 AM Aljoša Mohorović wrote: > now i looking at adding an wsgi app to this setup. >

Re: [Twisted-Python] running several services from a single app

2011-03-31 Thread Jasper St. Pierre
The factory for twisted.web.resource Resources is twisted.web.server.Site On Thu, Mar 31, 2011 at 4:45 AM, Aljoša Mohorović < aljosa.mohoro...@gmail.com> wrote: > now i looking at adding an wsgi app to this setup. > i'm reading > http://twistedmatrix.com/documents/current/web/howto/web-in-60/wsgi

Re: [Twisted-Python] running several services from a single app

2011-03-31 Thread Aljoša Mohorović
now i looking at adding an wsgi app to this setup. i'm reading http://twistedmatrix.com/documents/current/web/howto/web-in-60/wsgi.html but can't figure out howto get factory for wsgi if i have: === def application(environ, start_response): start_response('200 OK', [('Content-type', 'text/pla

Re: [Twisted-Python] running several services from a single app

2011-03-31 Thread Aljoša Mohorović
everything is working, thanks. Aljosa ___ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python