Skip to content

Commit 06d45f4

Browse files
committed
document fork-observer
1 parent 70f17ae commit 06d45f4

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

docs/quickstart.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,13 @@ warnet quickstart
3535
```
3636

3737
This will check you have the required dependencies and guide you through setting up and deploying your first network.
38+
39+
## fork-observer
40+
41+
If you enabled [fork-observer](https://github.com/0xB10C/fork-observer), you must forward the port from the cluster to your local machine:
42+
43+
```bash
44+
kubectl port-forward fork-observer 2323
45+
```
46+
47+
And then the GUI can be accessed via `localhost:2323` in a web browser.

src/warnet/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,12 @@ def quickstart():
221221
click.echo(
222222
f"\nEdit the network files found in {custom_network_path} before deployment if you want to customise the network."
223223
)
224+
if fork_observer:
225+
click.echo(
226+
"If you enabled fork-observer you must forward the port from the cluster to your local machine:\n"
227+
"`kubectl port-forward fork-observer 2323`\n"
228+
"fork-observer will then be available at web address: localhost:2323"
229+
)
224230

225231
click.echo("\nWhen you're ready, run the following command to deploy this network:")
226232
click.echo(f"warnet deploy {custom_network_path}")

0 commit comments

Comments
 (0)