Skip to content

Commit 1875708

Browse files
committed
Add mail config message after installation
refs #216 - adds a little ui message to guide people towards docs for mail config
1 parent 2d2c979 commit 1875708

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/commands/start.js

+6
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,13 @@ class StartCommand extends Command {
6060

6161
return this.ui.run(processInstance.enable(), 'Enabling instance startup on server boot');
6262
}).then(() => {
63+
let mail = instance.config.get('mail');
6364
this.ui.log(`You can access your blog at ${instance.config.get('url')}`, 'cyan');
65+
66+
if (mail.transport && mail.transport === "Direct") {
67+
this.ui.log("\nGhost uses direct mail by default", "green");
68+
this.ui.log("To set up an alternative email method read our docs at https://docs.ghost.org/docs/mail-config", "green");
69+
}
6470
});
6571
});
6672
}

0 commit comments

Comments
 (0)