Update Readme.md with WTTR_LISTEN_*

The recently added WTTR_LISTEN_HOST  WTTR_LISTEN_PORT variables are worth documenting to avoid confusion.
This commit is contained in:
Juho-Pekka Kuitunen 2017-02-05 00:32:01 +02:00 committed by GitHub
parent 430c56e946
commit 5d50a799d2

View File

@ -107,9 +107,11 @@ The `City` parameter in `~/.wegorc` is ignored.
Configure the following environment variables specifing the path to the local `wttr.in`
installation, to the GeoLite database and to the `wego` installation. For example:
WTTR_MYDIR = "/home/igor/wttr.in"
WTTR_GEOLITE = "/home/igor/wttr.in/GeoLite2-City.mmdb"
WTTR_WEGO = "/home/igor/go/bin/wego"
export WTTR_MYDIR="/home/igor/wttr.in"
export WTTR_GEOLITE="/home/igor/wttr.in/GeoLite2-City.mmdb"
export WTTR_WEGO="/home/igor/go/bin/wego"
export WTTR_LISTEN_HOST="0.0.0.0"
export WTTR_LISTEN_PORT="8002"
### Configure HTTP-frontend service