An open API service indexing awesome lists of open source software.

https://github.com/akullpp/outfitr

A small sandbox project which suggests outfit levels based current temperature
https://github.com/akullpp/outfitr

Last synced: about 1 year ago
JSON representation

A small sandbox project which suggests outfit levels based current temperature

Awesome Lists containing this project

README

          

# outfitr

## Requirements

[Docker](https://www.docker.com/) (stable:latest)

An environment variable `OMW_API_KEY` has to be set which should be a valid API Key for OpenWeatherMap.

If you use an HTTP(S) proxy, ensure that the correct environment variables, i.e. `http_proxy` and `https_proxy` are set.

Don't forget to adapt your IDE's run configurations as well!

## Run

```
docker-compose up
```

or a clean slate

```
docker-compose up --build
```

The server can be accessed under port `8080`.

The Swagger API can be used under the `http://:/swagger-ui.html` URL.

If you need a proxy, you set it like usual with `-Dhttp(s).proxyHost= -Dhttp(s).proxyPort=` depending if it's a HTTP or HTTPS proxy. A quick way to do this would be to set this in the Dockerfile itself.

## Development

```
./mvwn spring-boot:run
```

The backend will be available at port `11000`.

## Build

```
./mvwn clean install
```