mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 14:24:03 +00:00
Update information about installation
'go get' not work with go >=v1.18 see https://go.dev/doc/go-get-install-deprecation
This commit is contained in:
parent
4231f068f1
commit
6ea4688b73
1 changed files with 7 additions and 1 deletions
|
@ -31,12 +31,18 @@ brew update && brew install mailhog
|
|||
|
||||
Then, start MailHog by running `mailhog` in the command line.
|
||||
|
||||
#### Debian / Ubuntu
|
||||
#### Debian / Ubuntu Go < v1.18
|
||||
```bash
|
||||
sudo apt-get -y install golang-go
|
||||
go get github.com/mailhog/MailHog
|
||||
```
|
||||
|
||||
#### Go >= v1.17 (Debian Bookworm)
|
||||
```bash
|
||||
sudo apt-get -y install golang-go
|
||||
go install github.com/mailhog/MailHog@latest
|
||||
```
|
||||
|
||||
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:
|
||||
|
|
Loading…
Reference in a new issue