Logging and adding better messaging around startup.

This commit is contained in:
mike12345567 2021-05-24 14:58:54 +01:00
parent 4b786f51d2
commit b7f739d54a
1 changed files with 3 additions and 2 deletions

View File

@ -101,10 +101,11 @@ async function init(type) {
async function start() { async function start() {
await checkDockerConfigured() await checkDockerConfigured()
checkInitComplete() checkInitComplete()
console.log(info("Starting services, this may take a moment.")) console.log(info("Starting services, this may take a moment - first time this may take a few minutes to download images."))
const port = makeEnv.get("MAIN_PORT") const port = makeEnv.get("MAIN_PORT")
await handleError(async () => { await handleError(async () => {
await compose.upAll({ cwd: "./", log: false }) // need to log as it makes it more clear
await compose.upAll({ cwd: "./", log: true })
}) })
console.log( console.log(
success( success(