This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
Demonstrating jenks natural breaks implemented in simple-statistics.
Rendered by d3js, based on an example by Mike Bostock.
| from TileStache import WSGITileServer, splitPathInfo | |
| import re | |
| # | |
| # Decorator for the WSGITileServer that allows for custom tilestache configuration. | |
| # | |
| # Takes in a tilestache config file and a series of parameter names. Any that are present will be sent to the | |
| # provider and the cache classes on each call. |
Here’s how to make animations like this one. It requires intermediate Unix command-line knowledge, to install some tools and to debug if they don’t work. You’ll need these utilities:
curl (or you can translate to wget)convert and montage, part of ImageMagickffmpeg, plus whatever codecsparallel, for iteration that’s nicer than shell for loops or xargszsh for leading 0s in numerical ranges to work