source: src/mapservice/src-gen/README.md@ 041e464

debian/bullseye
Last change on this file since 041e464 was 5e4cb73, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago

Refactored mapservice

  • mapservice is a connexion python webservice with openapi defined api
  • mapservice-webclient is a angular app, consuming the openapi webservice mapservice
  • Property mode set to 100644
File size: 1.1 KB
RevLine 
[3a89adb]1# OpenAPI generated server
2
3## Overview
4This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the
5[OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
6is an example of building a OpenAPI-enabled Flask server.
7
8This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
9
10## Requirements
11Python 3.5.2+
12
13## Usage
14To run the server, please execute the following from the root directory:
15
16```
17pip3 install -r requirements.txt
18python3 -m openapi_server
19```
20
21and open your browser to here:
22
23```
24http://localhost:8080/mapservice/v1/ui/
25```
26
27Your OpenAPI definition lives here:
28
29```
30http://localhost:8080/mapservice/v1/openapi.json
31```
32
33To launch the integration tests, use tox:
34```
35sudo pip install tox
36tox
37```
38
39## Running with Docker
40
41To run the server on a Docker container, please execute the following from the root directory:
42
43```bash
44# building the image
45docker build -t openapi_server .
46
47# starting up a container
48docker run -p 8080:8080 openapi_server
49```
Note: See TracBrowser for help on using the repository browser.