mirror of https://github.com/dapr/docs.git
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:
parent
35ed773345
commit
b0d5eb2ed5
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue