humiditycalc/README.md

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