-
Set up an Azure Active Directory application for the local application to use (see here). Make sure the local settings in the project are updated.
-
Set up a domain,
testing.local
, and TLS certificate that points to your machine (see here). -
Ensure that Kubernetes is running on your machine.
-
Ensure the the build tools are installed:
- .NET SDK v5
- NodeJS
- Docker (for building Kubernetes images)
-
Powershell scripts are provided for initialization. Ensure that the path to the DAPR and Helm executables is included in the PATH.
-
Initialize DAPR within the Kubernetes cluster:
packages/dapr-initialization/initialize-dapr.ps1
-
Initialize DAPR state store and pub/sub message broker:
packages/dapr-initialization/initialize-dapr-redis.ps1
-
Create a Kubernetes namespace for the application:
packages/nginx-ingress/create-namespace.ps1
-
Install npm packages for the web application:
cd packages/browser-frontend npm install
-
Build the static web site and its image file:
packages/browser-frontend/deploy/build-frontend-image.ps1
-
Deploy the front-end service to the cluster:
packages/browser-frontend/deploy/initialize-frontend.ps1
-
Build the users API web site and its image file:
packages/users-api/deploy/build-users-api-image.ps1
-
Deploy the users API service to the cluster:
packages/users-api/deploy/initialize-users-api.ps1
-
Deploy the Ingress Controller to the cluster:
packages/nginx-ingress/initialize-nginx-ingress.ps1
Navigate to https://testing.local:31001/.