mirror of
https://github.com/LeRoid-hub/humiditycalc.git
synced 2025-12-16 23:39:35 +00:00
| .github/workflows | ||
| configs | ||
| example | ||
| internal | ||
| models | ||
| server | ||
| web | ||
| .gitignore | ||
| Dockerfile | ||
| go.mod | ||
| go.sum | ||
| main.go | ||
| README.md | ||
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