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 <anishpai@Anishs-MacBook-Pro.local>
This commit is contained in:
Anish Pai 2023-11-11 11:49:25 -05:00
parent 35ed773345
commit b0d5eb2ed5
1 changed files with 6 additions and 0 deletions

View File

@ -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: