mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 22:15:48 +01:00
added instructions for adding a test database for Level DB #1373
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
(function(module) {
|
||||
'use strict';
|
||||
/*global before*/
|
||||
|
||||
var utils = require('./../public/src/utils.js'),
|
||||
path = require('path'),
|
||||
@@ -38,12 +39,16 @@
|
||||
' "database": "1"' + '\n' +
|
||||
'}\n'+
|
||||
" or (mongo):\n" +
|
||||
'"test_database": {' + '\n' +
|
||||
'"test_database": {' + '\n' +
|
||||
' "host": "127.0.0.1",' + '\n' +
|
||||
' "port": "27017",' + '\n' +
|
||||
' "password": "",' + '\n' +
|
||||
' "database": "1"' + '\n' +
|
||||
'}\n'+
|
||||
" or (level):\n" +
|
||||
'"test_database": {' + '\n' +
|
||||
' "database": "/path/to/database"' + '\n' +
|
||||
'}\n'+
|
||||
"==========================================================="
|
||||
);
|
||||
winston.error(errorText);
|
||||
|
||||
Reference in New Issue
Block a user