From 35ed773345073474bf1ac0d7f5d7eaeb5c02ba83 Mon Sep 17 00:00:00 2001 From: Anish Pai Date: Fri, 10 Nov 2023 22:02:19 -0500 Subject: [PATCH 1/2] In Section 3: Run the Dapr Sidecar, the --resources-path flag in the dapr run command was listed incorrectly. It now correctly ends in resources-path ../ Signed-off-by: Anish Pai --- .../en/getting-started/tutorials/get-started-component.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/getting-started/tutorials/get-started-component.md b/daprdocs/content/en/getting-started/tutorials/get-started-component.md index 9f460ed0e7d..9fbd776b3a6 100644 --- a/daprdocs/content/en/getting-started/tutorials/get-started-component.md +++ b/daprdocs/content/en/getting-started/tutorials/get-started-component.md @@ -65,7 +65,7 @@ In the above file definition: Launch a Dapr sidecar that will listen on port 3500 for a blank application named `myapp`: ```bash -dapr run --app-id myapp --dapr-http-port 3500 --resources-path . +dapr run --app-id myapp --dapr-http-port 3500 --resources-path ../ ``` {{% alert title="Tip" color="primary" %}} From b0d5eb2ed53b9ca070041a10a3f142aeb4874e17 Mon Sep 17 00:00:00 2001 From: Anish Pai Date: Sat, 11 Nov 2023 11:49:25 -0500 Subject: [PATCH 2/2] Created a powershell and non powershell environment version for the dapr run command in section 3 for running the Dapr Sidecar. Signed-off-by: Anish Pai --- .../en/getting-started/tutorials/get-started-component.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/daprdocs/content/en/getting-started/tutorials/get-started-component.md b/daprdocs/content/en/getting-started/tutorials/get-started-component.md index 9fbd776b3a6..7c829e5d779 100644 --- a/daprdocs/content/en/getting-started/tutorials/get-started-component.md +++ b/daprdocs/content/en/getting-started/tutorials/get-started-component.md @@ -64,9 +64,15 @@ In the above file definition: Launch a Dapr sidecar that will listen on port 3500 for a blank application named `myapp`: + +PowerShell environment: ```bash dapr run --app-id myapp --dapr-http-port 3500 --resources-path ../ ``` +non-PowerShell environment: +```bash +dapr run --app-id myapp --dapr-http-port 3500 --resources-path . +``` {{% alert title="Tip" color="primary" %}} If an error message occurs, stating the `app-id` is already in use, you may need to stop any currently running Dapr sidecars. Stop the sidecar before running the next `dapr run` command by either: