From 1a5541f0c36ddf4f1ea3c43ccefe98651ac04e82 Mon Sep 17 00:00:00 2001 From: Maximiliano Osorio Date: Wed, 10 Jun 2020 10:17:29 -0700 Subject: [PATCH] fix: add cache system --- docs/advanced.md | 0 docs/running_server.md | 12 ++++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) delete mode 100644 docs/advanced.md diff --git a/docs/advanced.md b/docs/advanced.md deleted file mode 100644 index e69de29..0000000 diff --git a/docs/running_server.md b/docs/running_server.md index 2e81954..5fbdf1c 100644 --- a/docs/running_server.md +++ b/docs/running_server.md @@ -6,16 +6,20 @@ To run the server on a Docker container, execute the following command from the ```bash # building the image -docker build -t openapi_server . +$ docker build -t openapi_server . # starting up a container -docker run -p 8080:8080 openapi_server +$ docker run -v $PWD/openapi_server/openapi/:/usr/src/app/openapi_server/openapi/ ``` +!!!info + OBA uses a [cache system](cached.md) + and open the following URL in your browser: + ``` -http://localhost:8080/v1.3.0/ui/ +http://localhost:8080//ui/ ``` !!! warning @@ -26,7 +30,7 @@ http://localhost:8080/v1.3.0/ui/ Your OpenAPI definition lives here: ``` -http://localhost:8080/v1.3.0/openapi.json +http://localhost:8080//openapi.json ``` To launch the integration tests, install and execute [tox](https://pypi.org/project/tox/):