]>
Commit | Line | Data |
---|---|---|
1 | #!/usr/bin/python2.6 | |
2 | ||
3 | import tornado.httpserver | |
4 | import tornado.ioloop | |
5 | ||
6 | from webapp import Application | |
7 | application = Application() | |
8 | ||
9 | if __name__ == "__main__": | |
10 | http_server = tornado.httpserver.HTTPServer(application) | |
11 | http_server.listen(8080) | |
12 | tornado.ioloop.IOLoop.instance().start() |