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
- Host: GitHub
- URL: https://github.com/akullpp/outfitr
- Owner: akullpp
- License: mit
- Created: 2017-09-29T12:05:40.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-10-17T08:14:32.000Z (over 8 years ago)
- Last Synced: 2025-01-16T16:42:45.175Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 33.2 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```