https://github.com/jameshopkins/weather-forecast
☁️️ ⛅ ☀️️ Display a weather forecast!
https://github.com/jameshopkins/weather-forecast
openweathermap openweathermap-api
Last synced: 3 months ago
JSON representation
☁️️ ⛅ ☀️️ Display a weather forecast!
- Host: GitHub
- URL: https://github.com/jameshopkins/weather-forecast
- Owner: jameshopkins
- Created: 2017-02-15T17:31:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-28T17:19:48.000Z (about 8 years ago)
- Last Synced: 2025-01-01T17:26:58.379Z (5 months ago)
- Topics: openweathermap, openweathermap-api
- Language: Elm
- Homepage:
- Size: 107 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Weather Forecast
> A little web application to show the forecast in a particular area, against the [OpenWeatherMap 5-day forecast API](https://openweathermap.org/forecast5)
## Getting Started
### Setup
Both application and tests are executed in a Docker container, whose image needs to be built first.
```bash
docker build -t weather .
```### Run The Application
Ensure you have a valid OpenWeatherMap API key assigned to the `OWM_KEY` environment variable, so it's available inside the container.
```bash
docker run -p 3000:3000 -e "OWM_KEY=YOUR_KEY_HERE" weather make run
```### Run The Tests
```bash
docker run weather make test
```