From 4add73a5cb861c3dd44abcb3d80a6dc54e74acf2 Mon Sep 17 00:00:00 2001 From: lesion Date: Mon, 5 Aug 2019 01:41:35 +0200 Subject: [PATCH] minor --- server/cli.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/server/cli.js b/server/cli.js index a37cd213..95021a42 100755 --- a/server/cli.js +++ b/server/cli.js @@ -209,8 +209,13 @@ async function setup (options) { consola.info(`You're going to setup gancio on this machine.`) const config = await setupQuestionnaire(options.docker) await firstrun.setup(config, options.config) - consola.info(`You can edit '${options.config}' to modify your configuration. `) - consola.info(`Start the server with "gancio --config ${options.config}"`) + if (options.docker) { + consola.info(`You can edit ./config.json to modify your configuration.`) + consola.info(`Start the server with "docker-compose up"`) + } else { + consola.info(`You can edit '${options.config}' to modify your configuration. `) + consola.info(`Start the server with "gancio --config ${options.config}"`) + } process.exit(0) }