mirror of
https://github.com/LeRoid-hub/humiditycalc.git
synced 2025-01-31 03:34:56 +00:00
431 B
431 B
humiditycalc
BOTH slow- every req talks to api
ENV
MODES: CALC, WEATHER, BOTH
BOTH is standard
OPENWEATHERMAP_API_KEY is required in WEATHER and BOTH mode
DEFAULT:
MODE=CALC
Standalone:
MODE=BOTH
OPENWEATHERMAP_API_KEY=yourkey
LATITUDE=
LONGITUDE=
WEATHER:
MODE=WEATHER
OPENWEATHERMAP_API_KEY=yourkey
DB_HOST=
DB_PORT=
DB_NAME=
DB_PASSWORD=
DB=
OPTINAL:
PORT=80