Skip to content

Commit 82b9cd6

Browse files
Update README with latest env
1 parent a850535 commit 82b9cd6

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Runner Controller Microservice
2+
23
Go implementation of the Runner Controller.
34

45
## Setup
@@ -12,19 +13,28 @@ Go implementation of the Runner Controller.
1213
### Installation
1314

1415
1. Install the protobuf-grpc compiler.
16+
1517
```sh
1618
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@latest
1719
export PATH="$PATH:$(go env GOPATH)/bin"
1820
```
21+
1922
2. Export the following environment variables.
23+
2024
```sh
2125
export DATABASE_URL=<cockroachdb_url>
2226
export MINIO_ENDPOINT=<minio_endpoint>
2327
export MINIO_ACCESS_KEY_ID=<minio_access_key>
2428
export MINIO_SECRET_KEY=<minio_secret_key>
2529
export 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+
2736
3. Run the following command to start the server.
37+
2838
```sh
2939
go run main.go
3040
```
@@ -33,6 +43,7 @@ go run main.go
3343

3444
1. Install protoc compiler
3545
2. Run the following command to generate the go files from the proto files.
46+
3647
```sh
3748
protoc --go_out=./ --go_opt=paths=source_relative \
3849
--go-grpc_out=./ --go-grpc_opt=paths=source_relative \

0 commit comments

Comments
 (0)