mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 14:24:03 +00:00
Tweak path to MailHog for Ubuntu installation
This commit is contained in:
parent
5a8d6fdaf7
commit
ff07258a05
1 changed files with 11 additions and 5 deletions
16
README.md
16
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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue