|
|
|
@ -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
|
|
|
|
|