A simple http page, that will return cards with weather for selected cities
Use the provided Makefile
to build all necessary components
make
To run the program standalone, you need to setup the STANDALONE
and API_KEY
environment variables.
API_KEY
should be a valid OpenWeatherMap.org api key
Make sure you have the following dependencies installed
- golang>=1.23
- node>=v.21.6.2
- templ>=0.3.819
- gnu make>=4.3
- [optional] docker or podman
You can use docker to deploy, using the provided dockerfile
and compose.yml
-
first edit the compose.yml file to provide the
API_KEY
environment variable -
execute the
docker-build
step
make docker-build
docker compose up -d