mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-27 16:24:04 +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.
|
[read the deployment guide](/docs/DEPLOY.md) for deployment options.
|
||||||
|
|
||||||
#### MacOS
|
#### MacOS
|
||||||
```
|
```bash
|
||||||
brew update && brew install mailhog
|
brew update && brew install Mailhog
|
||||||
```
|
```
|
||||||
|
|
||||||
Then, start MailHog by running `mailhog` in the command line.
|
Then, start MailHog by running `mailhog` in the command line.
|
||||||
|
|
||||||
#### Debian / Ubuntu
|
#### Debian / Ubuntu
|
||||||
```
|
```bash
|
||||||
sudo apt-get -y install golang-go
|
sudo apt-get -y install golang-go
|
||||||
go get github.com/mailhog/MailHog
|
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
|
### 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:
|
Alternatively, you can use your native `sendmail` command by providing `-S`, for example:
|
||||||
|
|
||||||
```
|
```bash
|
||||||
/usr/sbin/sendmail -S mail:1025
|
/usr/sbin/sendmail -S mail:1025
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue