ProvinDevs / 2020vol5-backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make all

You need to setup protoc to build.

macOS

brew install protobuf

ArchLinux

sudo pacman -S protobuf

then run this:

go get -v google.golang.org/protobuf/cmd/protoc-gen-go google.golang.org/grpc/cmd/protoc-gen-go-grpc

and put your certs to certs/{cert.pem,privkey.pem}. grpc-web needs to run with this proxy and also needs these certs for TLS.

launch

Just run make run. It requires that certs file (cert.pem, privkey.pem) in /certs/ folder

After that, you can access on port 4000.

About


Languages

Language:Go 91.3%Language:Dockerfile 4.6%Language:Makefile 4.1%