bin/tornado-server
author Tero Marttila <terom@fixme.fi>
Mon, 25 Jan 2010 19:46:25 +0200
changeset 94 a5e431cfcc4b
permissions -rwxr-xr-x
a simple Tornado frontend that uses the werkzeug handlers
94
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     1
#!/usr/bin/python
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     2
"""
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     3
    Script for running the Tornado server + handler
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     4
"""
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     5
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     6
from pngtile import tornado_handler
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     7
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     8
tornado_handler.main()
a5e431cfcc4b a simple Tornado frontend that uses the werkzeug handlers
Tero Marttila <terom@fixme.fi>
parents:
diff changeset
     9