inform about proper setup.sh usage between versions

This commit is contained in:
Georg Lauterbach 2021-02-18 14:00:51 +01:00
parent f3f38db0f9
commit d221c585c2
No known key found for this signature in database
GPG key ID: 2FDC58699AF121C6
2 changed files with 15 additions and 5 deletions

View file

@ -74,13 +74,21 @@ All workflows are using the **tagging convention** listed below. It is subsequen
### Get the tools
Download the `docker-compose.yml`, `compose.env`, `mailserver.env` and the `setup.sh` files:
Download `docker-compose.yml`, `compose.env`, `mailserver.env`
``` BASH
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
wget -O .env https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/compose.env
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/docker-compose.yml
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/mailserver.env
wget -O .env https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/compose.env
```
and the `setup.sh`
``` BASH
# if you're using :edge as the image tag
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/master/setup.sh
# if you're using :latest (= :8.0.1) as the image tag
wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver/v8.0.1/setup.sh
chmod a+x ./setup.sh
@ -88,6 +96,8 @@ chmod a+x ./setup.sh
./setup.sh help
```
**Make sure to get the `setup.sh` that comes with the release you're using**. Look up the release and the git commit on which this release is based upon by selecting the appropriate tag on GitHub. This is done to rule out possible inconsistencies between versions.
### Create a docker-compose environment
- [Install the latest docker-compose](https://docs.docker.com/compose/install/)

View file

@ -1127,10 +1127,10 @@ EOF
assert_failure
}
@test "checking setup.sh: setup.sh config dkim help" {
@test "setup.sh :: setup.sh config dkim help correctly displayed" {
run ./setup.sh -c mail config dkim help
assert_success
assert_line --index 2 " open-dkim - configure DomainKeys Identified Mail (DKIM)"
assert_line --index 3 " open-dkim - configure DomainKeys Identified Mail (DKIM)"
}
# debug