QuentinBrosse/grpcgame
A little game to test grpc-web
README
- Install golang
- Add
GOPATH/bin to your PATH: export PATH=$PATH:$GOPATH/bin
- Install dep:
brew install dep
- Install GRPC:
go get -u google.golang.org/grpc
- Install protobuf:
brew install protobuf
- Install protoc-gen-go:
go get -u github.com/golang/protobuf/protoc-gen-go
- Install protoc-gen-grpc-web
- Clone this repo in your
GOPATH and cd in the repo
- Configure the project:
./scripts/configure.sh -a -v
- Add CA to MacOS Keychain:
open ./infra/data/certifs/local/ca.pem and trust it:
- In Keychain, go into the Certificates section and locate the certificate "Quentin Brosse"
- Double click on it, enter the trust section and under “When using this certificate” select “Always Trust”
- Run the infra:
cd infra/environments/local && docker-compose build && docker-compose up -d
- In another terminal, run local webserver:
cd webapp/ && yarn install && yarn start
- Stop the infra:
cd infra/environments/local && docker-compose down -v
- Stop the webapp
Issues
#10 · closed · 0 comments
#9 · closed · 0 comments
#8 · closed · 0 comments
#6 · closed · 0 comments
#5 · closed · 0 comments
#4 · closed · 0 comments
#3 · closed · 0 comments
#1 · closed · 0 comments