Skip to content

Commit 438b301

Browse files
xmulliganrolinh
authored andcommitted
Move development out of README
Signed-off-by: Bill Mulligan <[email protected]>
1 parent 35ab16d commit 438b301

File tree

1 file changed

+0
-71
lines changed

1 file changed

+0
-71
lines changed

README.md

Lines changed: 0 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -17,77 +17,6 @@ See [Hubble Getting Started Guide](https://docs.cilium.io/en/stable/gettingstart
1717

1818
![Service Map](promo/servicemap.png)
1919

20-
## 🛠 Development
21-
22-
### Backend
23-
24-
If you want to point the frontend to a backend deployed in Minikube, simply create a port forward.
25-
26-
```shell
27-
kubectl port-forward -n kube-system deployment/hubble-ui 8081
28-
```
29-
30-
To make changes to the Go backend, there are additional steps.
31-
32-
1. Go to the 📁 `backend` directory and execute `./ctl.sh`.
33-
34-
```shell
35-
cd ./backend
36-
./ctl.sh run
37-
```
38-
39-
Wait until the build and server are running.
40-
41-
2. In a separate terminal, enter the 📁 `server` directory containing the Envoy config.
42-
43-
```shell
44-
cd ./server
45-
```
46-
47-
Assuming Envoy has already been installed, execute:
48-
49-
```shell
50-
envoy -c ./envoy.yaml
51-
```
52-
53-
3. In a separate terminal, run a port forward to Hubble Relay.
54-
55-
```shell
56-
kubectl port-forward -n kube-system deployment/hubble-relay 50051:4245
57-
```
58-
59-
#### Docker 🐳
60-
61-
Build the backend Docker image:
62-
63-
```shell
64-
make hubble-ui-backend
65-
```
66-
67-
### Frontend
68-
69-
1. Install dependencies.
70-
71-
```shell
72-
npm install
73-
```
74-
75-
2. Start the development server.
76-
77-
```shell
78-
npm run watch
79-
```
80-
81-
3. Open [http://localhost:8080](http://localhost:8080)
82-
83-
#### Docker 🐳
84-
85-
Build the frontend Docker image:
86-
87-
```shell
88-
make hubble-ui
89-
```
90-
9120
## 🐝 Community
9221

9322
Learn more about the [Cilium community](https://github.com/cilium/cilium#community).

0 commit comments

Comments
 (0)