Skip to content

Instantly share code, notes, and snippets.

@ddd1600
Created December 26, 2014 21:50
Show Gist options
  • Save ddd1600/bbd25dd849f44b84841b to your computer and use it in GitHub Desktop.
Save ddd1600/bbd25dd849f44b84841b to your computer and use it in GitHub Desktop.
tairu configuration & launch
layers = {
'geo' => {
'provider' => 'mbtiles',
'tileset' => 'NorthCharleston.mbtiles',
'location' => '~/Documents/MapBox/export',
'format' => 'png'
}
}
cache = {
'type' => 'redis',
'options' => {
'host' => 'localhost',
'port' => '3000',
'db' => 0
}
}
Tairu.configure do |config|
config.name = 'tairu_config_example'
config.layers = layers
config.cache = cache
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment