console.info(colors.bold.cyan('> You can run the configuration wizard using command:')+colors.bold.white(' node wiki configure')+colors.bold.cyan('. Then start Wiki.js using command: ')+colors.bold.white('node wiki start'))
returnprocess.exit(0)
console.info(colors.bold.cyan('\n> You can run the configuration wizard using command:')+colors.bold.white(' node wiki configure')+colors.bold.cyan('.\n> Then start Wiki.js using command: ')+colors.bold.white('node wiki start'))
returnPromise.delay(7000).then(()=>{
process.exit(0)
})
}
}
}).then(()=>{
}).then(()=>{
ora.succeed(colors.bold.green('Wiki.js has been configured successfully. It is now starting up and should be accessible very soon!'))
ora.succeed(colors.bold.green('Wiki.js has been configured successfully. It is now starting up and should be accessible very soon!'))
returnPromise.delay(3000).then(()=>{
console.info('npm is finishing... please wait...')
})
})
})
}else{
}else{
console.info(colors.cyan('[WARNING] Non-interactive terminal detected. You must manually start the configuration wizard using the command: node wiki configure'))
console.info(colors.cyan('[WARNING] Non-interactive terminal detected. You must manually start the configuration wizard using the command: node wiki configure'))