You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protoc install instructions update for WSL2 on Windows (dapr#8623)
* Updated instructions for installing prereq protoc tools on WSL2 on Windows
Signed-off-by: Whit Waldo <[email protected]>
* Applied Mike's suggestion to put bin in /usr/local/bin and includes in /usr/local/includes meaning the path doesn't need an update
Signed-off-by: Whit Waldo <[email protected]>
* Fixed step numbers
Signed-off-by: Whit Waldo <[email protected]>
* Swapped over to symlinks so go upgrades are resolved without necessitating new copies.
Signed-off-by: Whit Waldo <[email protected]>
---------
Signed-off-by: Whit Waldo <[email protected]>
Co-authored-by: Mike Nguyen <[email protected]>
Co-authored-by: Josh van Leeuwen <[email protected]>
Co-authored-by: Dapr Bot <[email protected]>
2. Navigate to your Dapr repository. For example, if you've got it in Windows at `P:/Code/Dapr` in your Ubuntu terminal
50
+
use `cd /mnt/p/Code/Dapr`.
51
+
3. Install proto-gen-go and protoc-gen-go-grpc, then move from their install directory to your previously created directory
52
+
in `/usr/bin/protoc`
53
+
```bash
54
+
make init-proto
55
+
cp ~/go/bin
56
+
ln -s ~/go/bin/protoc-gen-go /usr/local/bin
57
+
ln -s ~/go/bin/proto-gen-go-grpc /usr/local/bin
58
+
```
59
+
4. Generate the proto clients
60
+
```bash
61
+
make gen-proto
62
+
```
63
+
64
+
29
65
## Update e2e test apps
30
66
31
67
Whenever there are breaking changes in the proto files, we need to update the e2e test apps to use the correct version of dapr dependencies. This can be done by navigating to the tests folder and running the commands:-
0 commit comments