The main purpose of the weather report app is the city search with uses the OpenWeather API. This will return the current weather forecast in a city found using this API.
The results are saved to the cache for a default time of 5 minutes. This can be updated through changing the environment variable: CACHE_TIMEOUT
The weather report app currently supports 3 languages:
- English
- German
- French
You can select and update the language in the top nav bar.
In the root of the repository:
- Copy and paste
django.local.env
and rename todjango.env
- Create a free openweather account at https://openweathermap.org/ and update OPEN_WEATHER_API_KEY to your api key
- In the command line run
docker-compose up --build -d
- When all of your containers have successfully been built, navigate to http://localhost:8000/ and enjoy 🎉