Created
February 12, 2021 17:44
-
-
Save nmenag/76d49ae53cb9ffb296f8341035edbba4 to your computer and use it in GitHub Desktop.
GRPC server configuration in elixir
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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