Acts as a central repository for defining the protofiles, and also the auto-generated repositories for multiple languages.
All .proto
files are inside the protofiles
folder.
Whenever one of them is changed, we need to run ./compile.sh
to re-generate the source code for each language (stored inside protoc/*
).
Servers/clients can point to their language-specific folder inside protoc
(e.g. using Gemfile
or mix.exs
) to have access to the gRPC supporting auto-generated code.
protoc
:brew install protobuf
protoc-gen-elixir
:mix escript.install hex protobuf
and make sure you add it to your path
./compile.sh
will generate the GRPC code for each language (at the moment we only have elixir)