Skip to content

Commit

Permalink
Use --bind-address in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
wardle committed May 22, 2024
1 parent 504add8 commit 14dd163
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ My machine takes 6 minutes to build the search indices and 20 seconds to compact
### 4. Run a server!

```shell
java -jar hermes.jar --db snomed.db --port 8080 serve
java -jar hermes.jar --db snomed.db --port 8080 --bind-address 0.0.0.0 serve
```
or
```shell
Expand Down Expand Up @@ -790,13 +790,13 @@ By default, data are returned using json, but you can
request [edn](https://github.com/edn-format/edn) by simply adding "Accept:application/edn" in the request header.

```
java -jar hermes.jar --db snomed.db --port 8080 serve
java -jar hermes.jar --db snomed.db --port 8080 --bind-address 0.0.0.0 serve
```

or

```
clj -M:run --db snomed.db --port 8080 serve
clj -M:run --db snomed.db --port 8080 --bind-address 0.0.0.0 serve
```

There are a number of configuration options for `serve`:
Expand Down

0 comments on commit 14dd163

Please sign in to comment.