Skip to content

Commit b0c3156

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

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/commands/start.js

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ class StartCommand extends Command {
6161
return this.ui.run(processInstance.enable(), 'Enabling instance startup on server boot');
6262
}).then(() => {
6363
this.ui.log(`You can access your blog at ${instance.config.get('url')}`, 'cyan');
64+
65+
if (instance.config.get('mail.transport') === 'Direct') {
66+
this.ui.log('\nGhost uses direct mail by default', 'green');
67+
this.ui.log('To set up an alternative email method read our docs at https://docs.ghost.org/docs/mail-config', 'green');
68+
}
6469
});
6570
});
6671
}

0 commit comments

Comments
 (0)