Some of our templates/ have inline commands to copy and they are out of sync.
For example in the typescript template there is an inline comment that says:
/ To launch Restate and register this service (if you don't have Restate running already)
//
// - On macOS:
// docker run --name restate_dev --rm -p 8080:8080 -p 9070:9070 -p 9071:9071 docker.io/restatedev/restate:latest
// curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://host.docker.internal:9080"}'
//
// - On Linux:
// docker run --name restate_dev --rm --network=host docker.io/restatedev/restate:latest
// curl -X POST http://localhost:9070/endpoints -H 'content-type: application/json' -d '{"uri": "http://localhost:9080"}'
Pasting these commands doesn't do anything, because the /endpoints was renamed to /deployments.
Some of our templates/ have inline commands to copy and they are out of sync. For example in the
typescript
template there is an inline comment that says:Pasting these commands doesn't do anything, because the
/endpoints
was renamed to/deployments
.