mirror of https://github.com/dapr/docs.git
				
				
				
			Merge pull request #3975 from hhunter-ms/issue_3968
[Quickstarts] Add dependencies to multi-app run instructions
This commit is contained in:
		
						commit
						bd9cc5b4ea
					
				|  | @ -51,6 +51,20 @@ From the root of the Quickstarts directory, navigate into the pub/sub directory: | |||
| cd pub_sub/python/sdk | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./checkout | ||||
| pip3 install -r requirements.txt | ||||
| cd .. | ||||
| cd ./order-processor | ||||
| pip3 install -r requirements.txt | ||||
| cd .. | ||||
| cd ./order-processor-fastapi | ||||
| pip3 install -r requirements.txt | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the publisher and subscriber | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -215,6 +229,17 @@ From the root of the Quickstarts directory, navigate into the pub/sub directory: | |||
| cd pub_sub/javascript/sdk | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| npm install | ||||
| cd .. | ||||
| cd ./checkout | ||||
| npm install | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the publisher and subscriber | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -352,6 +377,18 @@ From the root of the Quickstarts directory, navigate into the pub/sub directory: | |||
| cd pub_sub/csharp/sdk | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| dotnet restore | ||||
| dotnet build | ||||
| cd ../checkout | ||||
| dotnet restore | ||||
| dotnet build | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the publisher and subscriber | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -497,6 +534,17 @@ From the root of the Quickstarts directory, navigate into the pub/sub directory: | |||
| cd pub_sub/java/sdk | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| mvn clean install | ||||
| cd .. | ||||
| cd ./checkout | ||||
| mvn clean install | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the publisher and subscriber | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -647,6 +695,16 @@ From the root of the Quickstarts directory, navigate into the pub/sub directory: | |||
| cd pub_sub/go/sdk | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| go build . | ||||
| cd ../checkout | ||||
| go build . | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the publisher and subscriber | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  |  | |||
|  | @ -48,6 +48,16 @@ From the root of the Quickstart clone directory, navigate to the quickstart dire | |||
| cd service_invocation/python/http | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| pip3 install -r requirements.txt | ||||
| cd ../checkout | ||||
| pip3 install -r requirements.txt | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the `order-processor` and `checkout` services | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -184,6 +194,16 @@ From the root of the Quickstart clone directory, navigate to the quickstart dire | |||
| cd service_invocation/javascript/http | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| npm install | ||||
| cd ../checkout | ||||
| npm install | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the `order-processor` and `checkout` services | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -314,6 +334,18 @@ From the root of the Quickstart clone directory, navigate to the quickstart dire | |||
| cd service_invocation/csharp/http | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| dotnet restore | ||||
| dotnet build | ||||
| cd ../checkout | ||||
| dotnet restore | ||||
| dotnet build | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the `order-processor` and `checkout` services | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -448,6 +480,16 @@ From the root of the Quickstart clone directory, navigate to the quickstart dire | |||
| cd service_invocation/java/http | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| mvn clean install | ||||
| cd ../checkout | ||||
| mvn clean install | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the `order-processor` and `checkout` services | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  | @ -577,6 +619,16 @@ From the root of the Quickstart clone directory, navigate to the quickstart dire | |||
| cd service_invocation/go/http | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` and `checkout` apps: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| go build . | ||||
| cd ../checkout | ||||
| go build . | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 3: Run the `order-processor` and `checkout` services | ||||
| 
 | ||||
| With the following command, simultaneously run the following services alongside their own Dapr sidecars: | ||||
|  |  | |||
|  | @ -48,6 +48,12 @@ In a terminal window, navigate to the `order-processor` directory. | |||
| cd state_management/python/sdk/order-processor | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies: | ||||
| 
 | ||||
| ```bash | ||||
| pip3 install -r requirements.txt  | ||||
| ``` | ||||
| 
 | ||||
| Run the `order-processor` service alongside a Dapr sidecar using [Multi-App Run]({{< ref multi-app-dapr-run >}}). | ||||
| 
 | ||||
| ```bash | ||||
|  | @ -163,6 +169,14 @@ Clone the [sample provided in the Quickstarts repo](https://github.com/dapr/quic | |||
| git clone https://github.com/dapr/quickstarts.git | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies for the `order-processor` app: | ||||
| 
 | ||||
| ```bash | ||||
| cd ./order-processor | ||||
| npm install | ||||
| cd .. | ||||
| ``` | ||||
| 
 | ||||
| ### Step 2: Manipulate service state | ||||
| 
 | ||||
| In a terminal window, navigate to the `order-processor` directory. | ||||
|  | @ -171,6 +185,12 @@ In a terminal window, navigate to the `order-processor` directory. | |||
| cd state_management/javascript/sdk/order-processor | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies: | ||||
| 
 | ||||
| ```bash | ||||
| npm install | ||||
| ``` | ||||
| 
 | ||||
| Run the `order-processor` service alongside a Dapr sidecar. | ||||
| 
 | ||||
| ```bash | ||||
|  | @ -297,6 +317,13 @@ In a terminal window, navigate to the `order-processor` directory. | |||
| cd state_management/csharp/sdk/order-processor | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies: | ||||
| 
 | ||||
| ```bash | ||||
| dotnet restore | ||||
| dotnet build | ||||
| ``` | ||||
| 
 | ||||
| Run the `order-processor` service alongside a Dapr sidecar. | ||||
| 
 | ||||
| ```bash | ||||
|  | @ -557,6 +584,12 @@ In a terminal window, navigate to the `order-processor` directory. | |||
| cd state_management/go/sdk/order-processor | ||||
| ``` | ||||
| 
 | ||||
| Install the dependencies: | ||||
| 
 | ||||
| ```bash | ||||
| go build . | ||||
| ``` | ||||
| 
 | ||||
| Run the `order-processor` service alongside a Dapr sidecar. | ||||
| 
 | ||||
| ```bash | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue