Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 879 Bytes

File metadata and controls

41 lines (28 loc) · 879 Bytes

Scikit-Learn service

Overview

This server was generated by the OpenAPI Generator project. This was updated following the steps in the Tutorial.

This example uses the Connexion library on top of Flask.

Requirements

Python 3.5.2+

Usage

To run the server, please execute the following from the root directory:

pip3 install -r requirements.txt
python3 -m openapi_server

and open your browser to here:

http://localhost:8080/ui/

Your OpenAPI definition lives here:

http://localhost:8080/openapi.json

Running with Docker

To run the server on a Docker container, please execute the following from the root directory:

# building the image
docker build -t openapi_server .

# starting up a container
docker run -p 8080:8080 openapi_server