Skip to content

Commit

Permalink
Format config files
Browse files Browse the repository at this point in the history
  • Loading branch information
rochoa committed Feb 21, 2015
1 parent 1688247 commit 755bf11
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 21 deletions.
28 changes: 18 additions & 10 deletions config/environments/development.js
@@ -1,10 +1,18 @@
module.exports.name = 'development';
module.exports.postgres = {user: 'postgres', host: '127.0.0.1', port: 5432, geometry_field: 'the_geom', srid: 4326 };
module.exports.millstone = {cache_basedir: '/tmp/windshaft-dev/millstone'};
module.exports.redis = {host: '127.0.0.1',
port: 6379,
idleTimeoutMillis: 1,
reapIntervalMillis: 1};
module.exports.mapnik_version = undefined; // will be looked up at runtime if undefined
module.exports.windshaft_port = 8080;
module.exports.enable_cors = true;
module.exports.name = 'development';
module.exports.postgres = {
user: 'postgres',
host: '127.0.0.1',
port: 5432,
geometry_field: 'the_geom',
srid: 4326
};
module.exports.millstone = {cache_basedir: '/tmp/windshaft-dev/millstone'};
module.exports.redis = {
host: '127.0.0.1',
port: 6379,
idleTimeoutMillis: 1,
reapIntervalMillis: 1
};
module.exports.mapnik_version = undefined; // will be looked up at runtime if undefined
module.exports.windshaft_port = 8080;
module.exports.enable_cors = true;
29 changes: 18 additions & 11 deletions config/environments/test.js
@@ -1,13 +1,20 @@
module.exports.name = 'test';
module.exports.name = 'test';
// Allowed elements in "postgres" config object:
// user, host, port, geometry_field, srid
module.exports.postgres = {geometry_field: 'the_geom', srid: 4326};
module.exports.millstone = {cache_basedir: '/tmp/windshaft-test/millstone'};
module.exports.redis = {host: '127.0.0.1',
port: 6334, // 6379 is the default, 6333 is used by grainstore
idleTimeoutMillis: 1,
reapIntervalMillis: 1};
module.exports.renderer = {};
module.exports.mapnik_version = undefined; // will be looked up at runtime if undefined
module.exports.windshaft_port = 8083;
module.exports.enable_cors = true;
module.exports.postgres = {
geometry_field: 'the_geom',
srid: 4326
};
module.exports.millstone = {
cache_basedir: '/tmp/windshaft-test/millstone'
};
module.exports.redis = {
host: '127.0.0.1',
port: 6334, // 6379 is the default, 6333 is used by grainstore
idleTimeoutMillis: 1,
reapIntervalMillis: 1
};
module.exports.renderer = {};
module.exports.mapnik_version = undefined; // will be looked up at runtime if undefined
module.exports.windshaft_port = 8083;
module.exports.enable_cors = true;

0 comments on commit 755bf11

Please sign in to comment.