The objective of this scenario is to demonstrate how to work install the Distributed Application Runtime and then run a simple Node.JS application under the framework.
For more details about DAPR, go here.
This scenario is completely interactive. The instructions you'll be given will be executed directly in terminal windows in the Katacoda interactive learning environment.
This scenarios is divided into the following steps.
- Step 1 - Install the DAPR CLI
- Step 2 - Get the sample Node.JS app up and running under DAPR
- Step 3 - Invoke a command against the sample Node.JS application running under DAPR.
Setting Up DAPR
The objective of this lesson is to get the DAPR CLI installed and running under the Katacoda interactive learning environment
Step 1: Install Redis
sudo apt update && apt install redis-tools -y
Step 2: Get the code and install it
Click the following command to download and install the DAPR CLI using
curl -fsSL https://raw.githubusercontent.com/dapr/cli/master/install/install.sh | /bin/bash
Step 3: Initialize DAPR within the Katacoda virtual machine