winston.info('NodeBB Setup Triggered via Command Line');
process.stdout.write('\nWelcome to NodeBB!\n');
process.stdout.write('\nThis looks like a new installation, so you\'ll have to answer a few questions about your environment before we can proceed.\n');
process.stdout.write('Press enter to accept the default setting (shown in brackets).\n');
console.log('\nWelcome to NodeBB!');
console.log('\nThis looks like a new installation, so you\'ll have to answer a few questions about your environment before we can proceed.');
console.log('Press enter to accept the default setting (shown in brackets).');
async.series([
install.setup,
@ -30,19 +30,19 @@ function setup() {
separator+='=';
}
}
process.stdout.write('\n'+separator+'\n\n');
console.log('\n'+separator+'\n');
if(err){
winston.error('There was a problem completing NodeBB setup',err);
throwerr;
}else{
if(data.hasOwnProperty('password')){
process.stdout.write('An administrative user was automatically created for you:\n');
process.stdout.write('\nPackage upgrades skipped'.yellow+'. Check for upgrades at any time by running "'.reset+'./nodebb upgrade-plugins'.green+'".\n'.reset);
console.log('Package upgrades skipped'.yellow+'. Check for upgrades at any time by running "'.reset+'./nodebb upgrade-plugins'.green+'".'.reset);
winston.warn('[plugins/load] The following plugins may not be compatible with your version of NodeBB. This may cause unintended behaviour or crashing. In the event of an unresponsive NodeBB caused by this plugin, run `./nodebb reset -p PLUGINNAME` to disable it.');