- Install Protoc in Windows using Choco : run
choco install protoc --pre
- Upgrade Protoc in Windows using Choco : run
choco upgrade protoc --pre
- Uninstall Protoc in Windows using Choco : run
choco uninstall protoc --pre
- Convert
.proto
to.go
: runprotoc --go_out=. *.proto
orprotoc --go_out=plugins=grpc:. *.proto
to handle gRPC support (service tag)
- Run Garage Service with
cd grpc/services/service-garage/
, then rungo run main.go
- Run Member Service with
cd grpc/services/service-member/
, then rungo run main.go
- Run Client Service with
cd grpc/client/
, then rungo run main.go
- In root directory, run
go run main.go
- Run chatting app with
cd websocket/
, then rungo run main.go
, the app using port:8050
. Accesslocalhost:8050
to open the app.