straup / gunistache Goto Github PK
View Code? Open in Web Editor NEWA very simple CLI wrapper to run a TileStache server on top of gunicorn
A very simple CLI wrapper to run a TileStache server on top of gunicorn
# NOTE: THIS IS NO LONGER NECESSARY AS OF TILESTACHE 1.6: # http://tilestache.org/doc/#wsgi gunistache is a very simple CLI wrapper to run a WSGI-derived TileStache server on top of gunicorn. It exists only because there is still no way to pass an application-specific config file (that is something that your code can read at runtime) to gunicorn. It works likes this: $> /gunistache -w 4 -k egg:gunicorn#gevent -b localhost:8000 config.json What happens under the hood is this: * The example_config.json file is parsed and checked for a gunistache['name]' key which is used to generate a new gunicorn script/handler with code to render and cache map tiles using TileStache. * The example_config.json file is the same config file/data that TileStache uses to know what types of tiles to generate and how to render them. The path to the config file is hardcoded in the new gunicorn script/handler. * By default these new handlers are written to a directory called 'gunistache' in your operating system's "tmp" directory. You can override this setting by specifying a gunistache['app_dir'] value in the config file. For example: "gunistache": { "name": "tileserver", "app_dir": "." } * Once that is done the code is executed by handing everything back off to gunicorn. That's it. There are no ponies. Some day this code will (hopefully) be unnecessary. See also: * http://github.com/benoitc/gunicorn * http://github.com/migurski/TileStache
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.