bin/tornado-server
author Tero Marttila <terom@fixme.fi>
Tue, 26 Jan 2010 01:37:30 +0200
changeset 106 26f10ed59c8e
parent 94 a5e431cfcc4b
permissions -rwxr-xr-x
clean up dev-server stuff, and construct memcache client..
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