Skip to content

Commit 533271f

Browse files
Update README.md
1 parent 9d965da commit 533271f

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/product-catalog/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,18 @@
22

33
When this service is run the output should be similar to the following
44

5-
```json
6-
{"message":"successfully parsed product catalog json","severity":"info","timestamp":"2022-06-02T23:54:10.191283363Z"}
7-
{"message":"starting grpc server at :3550","severity":"info","timestamp":"2022-06-02T23:54:10.191849078Z"}
5+
```
6+
INFO[0000] Loaded 10 products
7+
INFO[0000] Product Catalog gRPC server started on port: 8088
88
```
99

1010
## Local Build
1111

1212
To build the service binary, run:
1313

1414
```sh
15-
go build -o /go/bin/product-catalog/
15+
export PRODUCT_CATALOG_PORT=<any-unique-port>
16+
go build -o product-catalog .
1617
```
1718

1819
## Docker Build

0 commit comments

Comments
 (0)