Skip to content

Commit 7ca77dd

Browse files
Merge pull request #290672 from hhunter-ms/hh-328902
[Dapr/ACA][UUF] Update Python tutorial with Windows/Linux commands
2 parents 5a29491 + 33a2276 commit 7ca77dd

File tree

1 file changed

+26
-6
lines changed

1 file changed

+26
-6
lines changed

articles/container-apps/microservices-dapr-pubsub.md

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,19 @@ Start by running the `order-processor` subscriber service.
282282

283283
1. Run the `order-processor` service.
284284

285-
```bash
286-
dapr run --app-id order-processor --resources-path ../components/ --app-port 5001 -- python3 app.py
287-
```
285+
# [Windows](#tab/windows)
286+
287+
```bash
288+
dapr run --app-id order-processor --resources-path ../components/ --app-port 5001 -- python app.py
289+
```
290+
291+
# [Linux](#tab/linux)
292+
293+
```bash
294+
dapr run --app-id order-processor --resources-path ../components/ --app-port 5001 -- python3 app.py
295+
```
296+
297+
---
288298

289299
1. In a new terminal window, from the sample's root directory, navigate to the `checkout` publisher service.
290300
@@ -300,9 +310,19 @@ Start by running the `order-processor` subscriber service.
300310
301311
1. Run the `checkout` service.
302312
303-
```bash
304-
dapr run --app-id checkout --resources-path ../components/ -- python3 app.py
305-
```
313+
# [Windows](#tab/windows)
314+
315+
```bash
316+
dapr run --app-id checkout --resources-path ../components/ -- python app.py
317+
```
318+
319+
# [Linux](#tab/linux)
320+
321+
```bash
322+
dapr run --app-id checkout --resources-path ../components/ -- python3 app.py
323+
```
324+
325+
---
306326
307327
#### Expected output
308328

0 commit comments

Comments
 (0)