Automated localization of external resources referenced in carto

This commit is contained in:
Sandro Santilli 2012-09-19 18:52:13 +02:00
parent e1e5bb413e
commit dd34fc507a
6 changed files with 18 additions and 3 deletions

View File

@ -18,6 +18,9 @@ var config = {
*/ */
simplify: true simplify: true
} }
,millstone: {
cache_basedir: '/tmp/cdb-tiler-dev/millstone-dev'
}
,redis: { ,redis: {
host: '127.0.0.1', host: '127.0.0.1',
port: 6379, port: 6379,

View File

@ -12,6 +12,9 @@ var config = {
extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188", extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188",
simplify: true simplify: true
} }
,millstone: {
cache_basedir: '/home/ubuntu/tile_assets/'
}
,redis: { ,redis: {
host: '127.0.0.1', host: '127.0.0.1',
port: 6379 port: 6379

View File

@ -12,6 +12,9 @@ var config = {
extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188", extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188",
simplify: true simplify: true
} }
,millstone: {
cache_basedir: '/home/ubuntu/tile_assets/'
}
,redis: { ,redis: {
host: '127.0.0.1', host: '127.0.0.1',
port: 6379 port: 6379

View File

@ -13,6 +13,9 @@ var config = {
extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188", extent: "-20005048.4188,-20005048.4188,20005048.4188,20005048.4188",
simplify: true simplify: true
} }
,millstone: {
cache_basedir: '/tmp/cdb-tiler-test/millstone'
}
,redis: { ,redis: {
host: '127.0.0.1', host: '127.0.0.1',
port: 6333, port: 6333,

View File

@ -5,7 +5,10 @@ var _ = require('underscore')
module.exports = function(){ module.exports = function(){
var me = { var me = {
base_url: '/tiles/:table', base_url: '/tiles/:table',
grainstore: {datasource: global.environment.postgres}, grainstore: {
datasource: global.environment.postgres,
cachedir: global.environment.millstone.cache_basedir
},
redis: global.environment.redis, redis: global.environment.redis,
enable_cors: global.environment.enable_cors, enable_cors: global.environment.enable_cors,
varnish_host: global.environment.varnish.host, varnish_host: global.environment.varnish.host,

View File

@ -22,8 +22,8 @@
"cluster": "0.6.4", "cluster": "0.6.4",
"node-varnish": "0.1.1", "node-varnish": "0.1.1",
"underscore" : "1.1.x", "underscore" : "1.1.x",
"grainstore" : "~0.5.0", "grainstore" : "~0.6.2",
"windshaft" : "~0.4.13", "windshaft" : "~0.4.14",
"step": "0.0.x", "step": "0.0.x",
"generic-pool": "1.0.x", "generic-pool": "1.0.x",
"redis": "0.6.7", "redis": "0.6.7",