Skip to content

Commit

Permalink
fix: add cache system
Browse files Browse the repository at this point in the history
  • Loading branch information
mosoriob committed Jun 10, 2020
1 parent 91c01dd commit 1a5541f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Empty file removed docs/advanced.md
Empty file.
12 changes: 8 additions & 4 deletions docs/running_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/ <docker_image>
```

!!!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/<API_VERSION>/ui/
```

!!! warning
Expand All @@ -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/<API_VERSION>/openapi.json
```

To launch the integration tests, install and execute [tox](https://pypi.org/project/tox/):
Expand Down

0 comments on commit 1a5541f

Please sign in to comment.