source: sandbox/jabberit_messenger/trophy/strophejs/contrib/discojs/punjab.tac @ 2271

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

Ticket #986 - Reimplementar interface mais leve para o IM, sem a necessidades de plugins adicionais.

  • 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.