Skip to content

Commit

Permalink
feat(ui): add mail config message after installation (#278)
Browse files Browse the repository at this point in the history
refs #216
- adds a little ui message to guide people towards docs for mail config
  • Loading branch information
cobbspur authored and acburdine committed Jul 5, 2017
1 parent 7f90b85 commit 8aac988
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/commands/start.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ class StartCommand extends Command {
return this.ui.run(processInstance.enable(), 'Enabling instance startup on server boot');
}).then(() => {
this.ui.log(`You can access your blog at ${instance.config.get('url')}`, 'cyan');

if (instance.config.get('mail.transport') === 'Direct') {
this.ui.log('\nGhost uses direct mail by default', 'green');
this.ui.log('To set up an alternative email method read our docs at https://docs.ghost.org/docs/mail-config', 'green');
}
});
});
}
Expand Down

0 comments on commit 8aac988

Please sign in to comment.