bin/tornado-server
author Tero Marttila <terom@fixme.fi>
Sat, 10 Apr 2010 22:30:00 +0300
branchunscaled-coordinates
changeset 128 66c95c2d212c
parent 94 a5e431cfcc4b
permissions -rwxr-xr-x
partial implementation of unscaled coordinates in URLs, but broken for url hashes and view images
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