added instructions for adding a test database for Level DB #1373

v1.18.x
psychobunny 11 years ago
parent c86635b4ce
commit c28308ee97

@ -5,6 +5,7 @@
(function(module) { (function(module) {
'use strict'; 'use strict';
/*global before*/
var utils = require('./../public/src/utils.js'), var utils = require('./../public/src/utils.js'),
path = require('path'), path = require('path'),
@ -38,12 +39,16 @@
' "database": "1"' + '\n' + ' "database": "1"' + '\n' +
'}\n'+ '}\n'+
" or (mongo):\n" + " or (mongo):\n" +
'"test_database": {' + '\n' + '"test_database": {' + '\n' +
' "host": "127.0.0.1",' + '\n' + ' "host": "127.0.0.1",' + '\n' +
' "port": "27017",' + '\n' + ' "port": "27017",' + '\n' +
' "password": "",' + '\n' + ' "password": "",' + '\n' +
' "database": "1"' + '\n' + ' "database": "1"' + '\n' +
'}\n'+ '}\n'+
" or (level):\n" +
'"test_database": {' + '\n' +
' "database": "/path/to/database"' + '\n' +
'}\n'+
"===========================================================" "==========================================================="
); );
winston.error(errorText); winston.error(errorText);

Loading…
Cancel
Save