最近学习dapr,决定将过程在此记录,也为小伙伴们学习的时候提供一份参考。 Dapr的介绍这里就不多说了,大家直接可以去百度或者去官网上进行查阅,本文就简单介绍下如何使用。 Dapr官方中文文档 一、安装Dapr CLI 选择与您使用的系统对应的安装方式即可,我这里使用的是windows系统,故使用windows系统做示例。 1. 在线安装,使用管理员权限打开cmd,直接将一下命令粘贴进去执行就可以了(命令中的链接可能根据您的网络不同而出现连不上的情况,如果连不上,请使用第二种方式)。 powershell -Command "iwr -useb https://raw.githubusercontent.com/dapr/cli/master/install/install.ps1 | iex" 2. 离线安装,将github中对应的软件包下载并安装就可以了。github地址 3. 安装完成,在cmd输入dapr,如果出现以下结果,就说明安装成功,可以进行下一步了。 二、本地初始化Dapr(安装dapr自带的中间件)。 1. 使用前请安装docker 2.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with "Weather
Contact "Weather, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack