Skip to content

Commit

Permalink
Feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen committed Feb 1, 2024
1 parent 99945ee commit 55798db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ For running Restate locally and downloading the binaries, have a look at the opt
- To run Restate with Homebrew:
```
brew install restatedev/tap/restate-server
restate-server
```

### Register the deployment in Restate
Expand All @@ -144,14 +145,14 @@ Once Restate is up, register the deployment in Restate by executing:

- Via the [CLI](https://docs.restate.dev/restate/cli):
```shell
restate dp register http://host.docker.internal:9080
restate dp register localhost:9080
```
When running Restate with Docker, use `host.docker.internal` instead of `localhost` for the service deployment URI.
- Via `curl`:
```shell
curl localhost:9070/deployments -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}'
curl localhost:9070/deployments -H 'content-type: application/json' -d '{"uri": "http://localhost:9080"}'
```
When running Restate with Docker, use `host.docker.internal` instead of `localhost` for the service deployment URI.

When running Restate with Docker, use `host.docker.internal` instead of `localhost` for the service deployment URI.

This should give you the following output in case of the ticket reservation example:
```json
Expand Down
2 changes: 2 additions & 0 deletions typescript/dynamic-workflow-executor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ npm run workflow-service

Now [launch the Restate Server](../../README.md#launching-the-restate-server) and [register the services](../../README.md#register-the-deployment-in-restate).

Make sure you register all four services with the following ports: `9080`, `9081`, `9082` and `9083`.

### OPTIONAL: Install and run stable diffusion server

**Note:** You can run this demo without Stable Diffusion. In that case, you cannot use workflow steps that call Stable Diffusion.
Expand Down

0 comments on commit 55798db

Please sign in to comment.