From de85494b512efad3c0d0084a800d87d4fc850078 Mon Sep 17 00:00:00 2001 From: Bas Kloosterman Date: Thu, 8 Jun 2023 16:53:43 +0200 Subject: [PATCH] Added readme --- readme.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 readme.md diff --git a/readme.md b/readme.md new file mode 100644 index 0000000..b216232 --- /dev/null +++ b/readme.md @@ -0,0 +1,14 @@ +# OKAPI + +This repository contains the protobuf specification and accompanying go module for the [OKAPI](https://docs.decozo.org/okapi/docs) standard. +Read the [OKAPI](https://docs.decozo.org/okapi/docs) specification for more information. + +# Compile protobufs into go package on macos + +Compiling the protobuf files yourself is not necessary but here are instructions as how one should compile it if needed (MacOs). + +``` +$ brew install protoc protoc-gen-go protoc-gen-go-grpc +$ cd protobuf +$ protoc --go_out=.. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative okapi-errors.proto okapi-onboarding.proto okapi-service-config.proto okapi-events.proto okapi-patient-registration.proto okapi.proto +``` \ No newline at end of file