bin/tornado-server
author Tero Marttila <terom@fixme.fi>
Tue, 26 Jan 2010 01:26:05 +0200
changeset 103 1a6a6957197d
parent 94 a5e431cfcc4b
permissions -rwxr-xr-x
basic caching behaviour, not use yet
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