From ade6de8d215a0967c33b32aa1f39c13fc12db3a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0hsan=20Baran=20S=C3=96NMEZ?= Date: Wed, 8 Nov 2023 22:21:01 +0300 Subject: [PATCH] Add the step of installing dependencies to the multi-app run steps in the quickstart tutorial document. Add note for python3 problem in Windows environments. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: İhsan Baran SÖNMEZ --- .../quickstarts/pubsub-quickstart.md | 2 ++ .../quickstarts/serviceinvocation-quickstart.md | 1 + .../quickstarts/statemanagement-quickstart.md | 17 ++++++++++++----- 3 files changed, 15 insertions(+), 5 deletions(-) diff --git a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md index 06f6402cf2d..63ba887755d 100644 --- a/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/pubsub-quickstart.md @@ -60,6 +60,8 @@ With the following command, simultaneously run the following services alongside ```bash dapr run -f . ``` +> **Note**: Since Python3.exe is not defined in Windows, you may need to change `python3` to `python` in the [`dapr.yaml`]({{< ref "#dapryaml-multi-app-run-template-file" >}}) file before running `dapr run -f .` + **Expected output** diff --git a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md index c33c529f952..d75e1a7a6e3 100644 --- a/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/serviceinvocation-quickstart.md @@ -57,6 +57,7 @@ With the following command, simultaneously run the following services alongside ```bash dapr run -f . ``` +> **Note**: Since Python3.exe is not defined in Windows, you may need to change `python3` to `python` in the [`dapr.yaml`]({{< ref "#dapryaml-multi-app-run-template-file" >}}) file before running `dapr run -f .` **Expected output** diff --git a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md index 4d1224c4eb7..26d63ae9826 100644 --- a/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md +++ b/daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md @@ -51,8 +51,9 @@ cd state_management/python/sdk/order-processor Run the `order-processor` service alongside a Dapr sidecar using [Multi-App Run]({{< ref multi-app-dapr-run >}}). ```bash -dapr run -f +dapr run -f . ``` +> **Note**: Since Python3.exe is not defined in Windows, you may need to change `python3` to `python` in the [`dapr.yaml`]({{< ref "#dapryaml-multi-app-run-template-file" >}}) file before running `dapr run -f .` The `order-processor` service writes, reads, and deletes an `orderId` key/value pair to the `statestore` instance [defined in the `statestore.yaml` component]({{< ref "#statestoreyaml-component-file" >}}). As soon as the service starts, it performs a loop. @@ -173,7 +174,7 @@ cd state_management/javascript/sdk/order-processor Run the `order-processor` service alongside a Dapr sidecar. ```bash -dapr run -f +dapr run -f . ``` The `order-processor` service writes, reads, and deletes an `orderId` key/value pair to the `statestore` instance [defined in the `statestore.yaml` component]({{< ref "#statestoreyaml-component-file" >}}). As soon as the service starts, it performs a loop. @@ -299,7 +300,7 @@ cd state_management/csharp/sdk/order-processor Run the `order-processor` service alongside a Dapr sidecar. ```bash -dapr run -f +dapr run -f . ``` The `order-processor` service writes, reads, and deletes an `orderId` key/value pair to the `statestore` instance [defined in the `statestore.yaml` component]({{< ref "#statestoreyaml-component-file" >}}). As soon as the service starts, it performs a loop. @@ -423,10 +424,16 @@ In a terminal window, navigate to the `order-processor` directory. cd state_management/java/sdk/order-processor ``` +Install the dependencies: + +```bash +mvn clean install +``` + Run the `order-processor` service alongside a Dapr sidecar. ```bash -dapr run -f +dapr run -f . ``` The `order-processor` service writes, reads, and deletes an `orderId` key/value pair to the `statestore` instance [defined in the `statestore.yaml` component]({{< ref "#statestoreyaml-component-file" >}}). As soon as the service starts, it performs a loop. @@ -553,7 +560,7 @@ cd state_management/go/sdk/order-processor Run the `order-processor` service alongside a Dapr sidecar. ```bash -dapr run -f +dapr run -f . ``` The `order-processor` service writes, reads, and deletes an `orderId` key/value pair to the `statestore` instance [defined in the `statestore.yaml` component]({{< ref "#statestoreyaml-component-file" >}}). As soon as the service starts, it performs a loop.