webgme
Version:
Web-based Generic Modeling Environment
45 lines (34 loc) • 1.1 kB
JavaScript
/*jshint node: true*/
/**
* @author lattmann / https://github.com/lattmann
* @author pmeijer / https://github.com/pmeijer
*/
var path = require('path'),
config = require('./config.default');
config.server.port = 9001;
config.mongo.uri = 'mongodb://127.0.0.1:27017/webgme_tests';
config.mongo.options.poolSize = 2; // 5 is the default
config.blob.fsDir = './test-tmp/blob-storage';
config.executor.workerRefreshInterval = 100;
config.executor.clearOldDataAtStartUp = true;
config.authentication.salts = 1;
//config.plugin.basePaths.push(path.join(__dirname, '../test/plugin/scenarios/plugins'));
config.plugin.allowServerExecution = true;
config.storage.database.options = {
//port: 6666
};
//config.addOn.basePaths.push(path.join(__dirname, '../test/addon/addOns'));
config.server.log = {
transports: [{
transportType: 'Console',
options: {
level: 'error',
colorize: true,
timestamp: true,
prettyPrint: true,
handleExceptions: true,
depth: 2
}
}]
};
module.exports = config;