From ff07258a05dc06384b450552d9984d1a9cf4fdfc Mon Sep 17 00:00:00 2001 From: Victor Bocharsky Date: Mon, 4 May 2020 11:26:31 +0300 Subject: [PATCH] Tweak path to MailHog for Ubuntu installation --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7585d45..f8feaff 100644 --- a/README.md +++ b/README.md @@ -25,19 +25,25 @@ MailHog is an email testing tool for developers: [read the deployment guide](/docs/DEPLOY.md) for deployment options. #### MacOS -``` -brew update && brew install mailhog +```bash +brew update && brew install Mailhog ``` Then, start MailHog by running `mailhog` in the command line. #### Debian / Ubuntu -``` +```bash sudo apt-get -y install golang-go go get github.com/mailhog/MailHog ``` -Then, start MailHog by running `~/work/bin/MailHog` in the command line. +Then, start MailHog by running `/path/to/MailHog` in the command line. + +E.g. the path to Go's bin files on Ubuntu is `~/go/bin/`, so to start the MailHog run: + +```bash +~/go/bin/MailHog +``` ### Configuration @@ -78,7 +84,7 @@ You can also use `MailHog sendmail ...` instead of the separate mhsendmail binar Alternatively, you can use your native `sendmail` command by providing `-S`, for example: -``` +```bash /usr/sbin/sendmail -S mail:1025 ```