File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 11# Runner Controller Microservice
2+
23Go implementation of the Runner Controller.
34
45## Setup
@@ -12,19 +13,28 @@ Go implementation of the Runner Controller.
1213### Installation
1314
14151 . Install the protobuf-grpc compiler.
16+
1517``` sh
1618go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
1719export PATH=" $PATH :$( go env GOPATH) /bin"
1820```
21+
19222 . Export the following environment variables.
23+
2024``` sh
2125export DATABASE_URL=< cockroachdb_url>
2226export MINIO_ENDPOINT=< minio_endpoint>
2327export MINIO_ACCESS_KEY_ID=< minio_access_key>
2428export MINIO_SECRET_KEY=< minio_secret_key>
2529export RABBITMQ_URL=< rabbitmq_url>
30+ export FRONTEND_URL=< frontend_url>
31+ export HTTP_PORT=< http_port>
32+ export AUTH_GRPC_ADDRESS=< auth_grpc_address>
33+ export REDIS_URL=< redis_url>
2634```
35+
27363 . Run the following command to start the server.
37+
2838``` sh
2939go run main.go
3040```
@@ -33,6 +43,7 @@ go run main.go
3343
34441 . Install protoc compiler
35452 . Run the following command to generate the go files from the proto files.
46+
3647``` sh
3748protoc --go_out=./ --go_opt=paths=source_relative \
3849 --go-grpc_out=./ --go-grpc_opt=paths=source_relative \
You can’t perform that action at this time.
0 commit comments