Skip to content

Instantly share code, notes, and snippets.

@nmenag
Created February 12, 2021 17:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmenag/76d49ae53cb9ffb296f8341035edbba4 to your computer and use it in GitHub Desktop.
Save nmenag/76d49ae53cb9ffb296f8341035edbba4 to your computer and use it in GitHub Desktop.
GRPC server configuration in elixir
# Install protobuf
# more info: https://grpc.io/docs/protoc-installation/
sudo apt install -y protobuf-compiler
# Install curl for GRPC support via ASDF package manager
asdf install grpcurl 1.8.0
# Ensure protobuf available
mix escript.install hex protobuf
asdf reshim elixir
# create elixir app with supervisor
mix new sample_app --sup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment