Update component-contrib update commands (#493)
Update component-contrib update commands
This commit is contained in:
parent
b08e920cdd
commit
83ee60e010
|
|
@ -84,7 +84,8 @@ cp ./dist/darwin_amd64/debug/daprd ~/.dapr/bin
|
|||
3. Fetch the latest dapr/dapr repo
|
||||
4. Update component-contrib go mod and ensure that component-contrib is updated to the latest version
|
||||
```bash
|
||||
go get -u github.com/dapr/components-contrib
|
||||
go get -u github.com/dapr/components-contrib@master
|
||||
go mod tidy
|
||||
```
|
||||
5. Import your component to Dapr [main.go](https://github.com/dapr/dapr/blob/d17e9243b308e830649b0bf3af5f6e84fd543baf/cmd/daprd/main.go#L79)
|
||||
6. Register your component in Dapr [main.go](https://github.com/dapr/dapr/blob/d17e9243b308e830649b0bf3af5f6e84fd543baf/cmd/daprd/main.go#L153-L226)
|
||||
|
|
|
|||
Loading…
Reference in New Issue