mirror of https://github.com/dapr/docs.git
Edited command argument & path (#3175)
* Edited command & path * Update daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * Update daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * Update daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * Update daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> * Update daprdocs/content/en/getting-started/quickstarts/statemanagement-quickstart.md Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> --------- Signed-off-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com> Co-authored-by: Minh Luan Quach <minh@redisoftware.com.au> Co-authored-by: Hannah Hunter <94493363+hhunter-ms@users.noreply.github.com>
This commit is contained in:
parent
a97d4669d9
commit
d91f965307
|
@ -51,7 +51,7 @@ pip3 install -r requirements.txt
|
||||||
Run the `order-processor` service alongside a Dapr sidecar.
|
Run the `order-processor` service alongside a Dapr sidecar.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dapr run --app-id order-processor --resources-path ../../../components/ -- python3 app.py
|
dapr run --app-id order-processor --resources-path ../../../resources/ -- python3 app.py
|
||||||
```
|
```
|
||||||
|
|
||||||
> **Note**: Since Python3.exe is not defined in Windows, you may need to use `python app.py` instead of `python3 app.py`.
|
> **Note**: Since Python3.exe is not defined in Windows, you may need to use `python app.py` instead of `python3 app.py`.
|
||||||
|
@ -172,7 +172,7 @@ Verify you have the following files included in the service directory:
|
||||||
Run the `order-processor` service alongside a Dapr sidecar.
|
Run the `order-processor` service alongside a Dapr sidecar.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dapr run --app-id order-processor --resources-path ../../../components/ -- npm run start
|
dapr run --app-id order-processor --resources-path ../../../resources/ -- npm run start
|
||||||
```
|
```
|
||||||
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.
|
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.
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ dotnet build
|
||||||
Run the `order-processor` service alongside a Dapr sidecar.
|
Run the `order-processor` service alongside a Dapr sidecar.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dapr run --app-id order-processor --resources-path ../../../components/ -- dotnet run
|
dapr run --app-id order-processor --resources-path ../../../resources/ -- dotnet run
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
@ -419,7 +419,7 @@ mvn clean install
|
||||||
Run the `order-processor` service alongside a Dapr sidecar.
|
Run the `order-processor` service alongside a Dapr sidecar.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dapr run --app-id order-processor --resources-path ../../../components -- java -jar target/OrderProcessingService-0.0.1-SNAPSHOT.jar
|
dapr run --app-id order-processor --resources-path ../../../resources -- java -jar target/OrderProcessingService-0.0.1-SNAPSHOT.jar
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
@ -538,7 +538,7 @@ go build .
|
||||||
Run the `order-processor` service alongside a Dapr sidecar.
|
Run the `order-processor` service alongside a Dapr sidecar.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
dapr run --app-id order-processor --resources-path ../../../components -- go run .
|
dapr run --app-id order-processor --resources-path ../../../resources -- go run .
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
Loading…
Reference in New Issue