Skip to content

Commit

Permalink
add docs to the tilestache-server.py and make it and other python too…
Browse files Browse the repository at this point in the history
…ls executable
  • Loading branch information
Dane Springmeyer committed May 26, 2011
1 parent c969941 commit 91f8570
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
Empty file modified scripts/tilestache-render.py
100644 → 100755
Empty file.
Empty file modified scripts/tilestache-seed.py
100644 → 100755
Empty file.
27 changes: 26 additions & 1 deletion scripts/tilestache-server.py
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,4 +1,29 @@
#!/usr/bin/python
#!/usr/bin/env python
"""tilestache-server.py will serve your cache.
This script is intended to be run directly from the command line.
It is intended for direct use only during development or for debugging TileStache.
For the proper way to configure TileStach for serving tiles see the docs at:
http://tilestache.org/doc/#serving-tiles
To use this built-in server, install werkzeug and then run tilestache-server.py:
tilestache-server.py
By default the script looks for a config file named tilestache.cfg in the current directory and then serves tiles on http://127.0.0.1:8080/.
You can then open your browser and view a url like:
http://localhost:8080/osm/0/0/0.png
The above layer of 'osm' (defined in the tilestache.cfg) will display an OpenStreetMap
tile proxied from http://tile.osm.org/0/0/0.png
Check tilestache-server.py --help to change these defaults.
"""

if __name__ == '__main__':
from datetime import datetime
Expand Down

0 comments on commit 91f8570

Please sign in to comment.