Skip to content

Commit 8a9da11

Browse files
committed
Remove unnecessary hardcoded ports
Signed-off-by: Albert Callarisa <[email protected]>
1 parent 9a5b2ae commit 8a9da11

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

examples/workflow/README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ timeout_seconds: 30
5757
-->
5858

5959
```sh
60-
dapr run --app-id wf-simple-example --dapr-grpc-port 50001 -- python3 simple.py
60+
dapr run --app-id wf-simple-example -- python3 simple.py
6161
```
6262
<!--END_STEP-->
6363

@@ -99,7 +99,7 @@ timeout_seconds: 30
9999
-->
100100

101101
```sh
102-
dapr run --app-id wfexample --dapr-grpc-port 50001 -- python3 task_chaining.py
102+
dapr run --app-id wfexample -- python3 task_chaining.py
103103
```
104104
<!--END_STEP-->
105105

@@ -146,7 +146,7 @@ timeout_seconds: 30
146146
-->
147147

148148
```sh
149-
dapr run --app-id wfexample --dapr-grpc-port 50001 -- python3 fan_out_fan_in.py
149+
dapr run --app-id wfexample -- python3 fan_out_fan_in.py
150150
```
151151
<!--END_STEP-->
152152

@@ -186,7 +186,7 @@ This example demonstrates how to use a workflow to interact with a human user. T
186186
The Dapr CLI can be started using the following command:
187187

188188
```sh
189-
dapr run --app-id wfexample --dapr-grpc-port 50001
189+
dapr run --app-id wfexample
190190
```
191191

192192
In a separate terminal window, run the following command to start the Python workflow app:
@@ -222,7 +222,7 @@ This example demonstrates how to eternally running workflow that polls an endpoi
222222
The Dapr CLI can be started using the following command:
223223

224224
```sh
225-
dapr run --app-id wfexample --dapr-grpc-port 50001
225+
dapr run --app-id wfexample
226226
```
227227

228228
In a separate terminal window, run the following command to start the Python workflow app:
@@ -254,7 +254,7 @@ This workflow runs forever or until you press `ENTER` to stop it. Starting the a
254254
This example demonstrates how to call a child workflow. The Dapr CLI can be started using the following command:
255255

256256
```sh
257-
dapr run --app-id wfexample --dapr-grpc-port 50001
257+
dapr run --app-id wfexample
258258
```
259259

260260
In a separate terminal window, run the following command to start the Python workflow app:
@@ -295,9 +295,9 @@ sleep: 20
295295
-->
296296

297297
```sh
298-
dapr run --app-id wfexample3 --dapr-grpc-port 50003 python3 cross-app3.py &
299-
dapr run --app-id wfexample2 --dapr-grpc-port 50002 python3 cross-app2.py &
300-
dapr run --app-id wfexample1 --dapr-grpc-port 50001 python3 cross-app1.py
298+
dapr run --app-id wfexample3 python3 cross-app3.py &
299+
dapr run --app-id wfexample2 python3 cross-app2.py &
300+
dapr run --app-id wfexample1 python3 cross-app1.py
301301
```
302302
<!-- END_STEP -->
303303

@@ -338,9 +338,9 @@ sleep: 20
338338

339339
```sh
340340
export ERROR_ACTIVITY_MODE=true
341-
dapr run --app-id wfexample3 --dapr-grpc-port 50013 python3 cross-app3.py &
342-
dapr run --app-id wfexample2 --dapr-grpc-port 50012 python3 cross-app2.py &
343-
dapr run --app-id wfexample1 --dapr-grpc-port 50011 python3 cross-app1.py
341+
dapr run --app-id wfexample3 python3 cross-app3.py &
342+
dapr run --app-id wfexample2 python3 cross-app2.py &
343+
dapr run --app-id wfexample1 python3 cross-app1.py
344344
```
345345
<!-- END_STEP -->
346346

@@ -379,9 +379,9 @@ sleep: 20
379379

380380
```sh
381381
export ERROR_WORKFLOW_MODE=true
382-
dapr run --app-id wfexample3 --dapr-grpc-port 50023 python3 cross-app3.py &
383-
dapr run --app-id wfexample2 --dapr-grpc-port 50022 python3 cross-app2.py &
384-
dapr run --app-id wfexample1 --dapr-grpc-port 50021 python3 cross-app1.py
382+
dapr run --app-id wfexample3 python3 cross-app3.py &
383+
dapr run --app-id wfexample2 python3 cross-app2.py &
384+
dapr run --app-id wfexample1 python3 cross-app1.py
385385
```
386386
<!-- END_STEP -->
387387

0 commit comments

Comments
 (0)