Skip to content

fragrant-teapot/weather-cli

Repository files navigation

Weather CLI 🌥

Simple php application printing current weather in a given city

Usage

./weather <cityName>

./weather Berlin  

Setup

  1. clone this repo
  2. cd weather-cli
  3. docker compose build
  4. docker compose run --rm composer composer install"
  5. docker compose run --rm php ./setup You will be asked for Open Weather Map API key, generate one here
  6. sudo chown -R ${USER}:${USER} ./
  7. docker compose run --rm php ./weather Brussels

Sources

Included test data pulled from Open Weather Map's Weather API and shared under CC BY-SA 4.0 without any modifications

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages