Simple php application printing current weather in a given city
./weather <cityName>
./weather Berlin
- clone this repo
cd weather-cli
docker compose build
docker compose run --rm composer composer install"
docker compose run --rm php ./setup
You will be asked for Open Weather Map API key, generate one heresudo chown -R ${USER}:${USER} ./
docker compose run --rm php ./weather Brussels
Included test data pulled from Open Weather Map's Weather API and shared under CC BY-SA 4.0 without any modifications