source: sandbox/jabberit_messenger/trophy_expresso/strophejs/contrib/discojs/punjab.tac @ 2397

Revision 2397, 548 bytes checked in by alexandrecorreia, 14 years ago (diff)

Ticket #986 - Importacao do modulo trophy integrado ao expresso.

  • Property svn:executable set to *
Line 
1# punjab tac file
2from twisted.web import server, resource, static
3from twisted.application import service, internet
4
5from punjab.httpb  import Httpb, HttpbService
6
7root = static.File("./") # This needs to be the directory
8                         # where you will have your html
9                         # and javascript.
10
11b = resource.IResource(HttpbService(1)) # turn on debug with 1
12root.putChild('bosh', b)
13
14
15site  = server.Site(root)
16
17application = service.Application("punjab")
18internet.TCPServer(5280, site).setServiceParent(application)
Note: See TracBrowser for help on using the repository browser.