Giter VIP home page Giter VIP logo

dapr-demo-build's Introduction

dapr-demo-build

This repository contains deployment files for the GitHub whiteducksoftware/dapr-demo application that is part of our talk at Microsoft Build.

Prerequisites

This demo currently only runs on a Windows machine and requires the following components:

Instructions

In this section you will learn how to run the demo in your own subscription. In the first step, you'll create an Azure resources group and add some services to it, which you'll need to run the demo.

Specify deployment settings

Before you can deploy the environment using the Azure CLI, you need to specify the following settings inside deploy/deploy.ps1:

$location = 'westeurope'

$rgName = 'rg-dapr-demo-build'
$storageAccountName = 'stodaprdemobuild'
$serviceBusName = 'sb-dapr-demo-build'
$logAnalyticsName = 'log-dapr-demo-build'
$containerAppEnvironmentName = 'conappenv-dapr-demo-build'

Deploy the first components

Make sure you are logged in to Azure CLI and that you have selected the correct subscription. Execute the first 30 lines of the deploy/deploy.ps1 script to create the resource group and some basic components including the Azure App Service environment.

Configure dapr components

Now you will need to capture the service bus SharedAccessKey and the storage account key from the Azure portal. Then rename the dapr/dapr-demo-secrets-store.json.rename file to dapr/dapr-demo-secrets-store.json and replace the secrets with the captured values. These values are used to configure the local dapr components.

For the Azure Container App Environment dapr configuration, you also have to set the captured values inside the deploy/pubsub.yml and deploy/statestore.yml files.

Deploy the remaining components

Now you can execute the code remaining (Line 31 and below) in the deploy/deploy.ps1 script to deploy the dapr configurations and services to Azure. Make sure you do this inside the deploy directory.

dapr-demo-build's People

Contributors

mjisaak avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.