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/):