File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -24,3 +24,30 @@ To uninstall:
2424``` bash
2525kubectl delete ns " ${NAMESPACE} "
2626```
27+
28+
29+ ## Development
30+
31+ ### Frontend
32+
33+ To run frontend you could easily run with ` air ` that helps with hot-reload.
34+
35+ Before running ` air ` or manual steps you have to set up the following env
36+ ``` shell
37+ export KAFKA_BROKER=kafka-headless.namespace.svc:9092
38+ export REDIS_ADDR=redis.namespace.svc:6379
39+ export FRONTEND_LOCATION_ADDR=location.namespace.svc:8081
40+ ```
41+
42+ Now let's run the frontend
43+ ``` shell
44+ air
45+ ```
46+
47+ That will listen for the changes and restart the server every change.
48+
49+ If no want to use this approach, you could
50+ ``` shell
51+ make build-frontend-app
52+ go run ./cmd/hotrod/main.go frontend
53+ ```
You can’t perform that action at this time.
0 commit comments