[Twisted-web] deployment with twistd of simple web application

Axel Rau Axel.Rau at chaos1.de
Tue Nov 5 05:55:09 MST 2013


Am 05.11.2013 um 13:47 schrieb Laurens Van Houtven <_ at lvh.io>:

> Looks like you're missing a bunch of imports; where is meteoService coming from in the tac file? Are these really the files you're attempting to run?
This is the complete tac file:
---
from twisted.application import internet, service
from meteo import meteoFactory

application = service.Application('meteo')
meteoService = internet.TCPserver(80, meteoFactory(), interface='91.216.35.82')
													# interface='2a02:d40:2:2::82')
meteoService.setServiceParent(application)
---
Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://twistedmatrix.com/pipermail/twisted-web/attachments/20131105/a5553bc2/attachment.html>


More information about the Twisted-web mailing list