mirror of
https://github.com/LeRoid-hub/humiditycalc.git
synced 2025-01-31 11:44:55 +00:00
30 lines
373 B
Markdown
30 lines
373 B
Markdown
# 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 |