From 62fe75d7fd320fbbeddc2983be102658eef3883f Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 24 May 2026 00:26:46 -0400 Subject: [PATCH] Development --- routlin/install.py | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/routlin/install.py b/routlin/install.py index 090acdc..c9a3c50 100644 --- a/routlin/install.py +++ b/routlin/install.py @@ -503,6 +503,12 @@ def main(): print(" be edited manually.") print() + next_step = ( + f"\n Next step: use the web dashboard to configure your network, or\n" + f" configure {SCRIPT_DIR}/core.json manually and then run:\n" + f" sudo python3 {SCRIPT_DIR}/core.py --apply" + ) + dash_installed = _dash_already_configured() if dash_installed: want_dashboard = prompt_yn("Web dashboard is already installed. Rebuild Docker image?", default="y") @@ -512,10 +518,9 @@ def main(): if not want_dashboard: print() print(" Skipping dashboard setup.") - print(" Edit ~/routlin/core.json manually, then run:") - print(" sudo python3 ~/routlin/core.py --apply") print() print("Done.") + print(next_step) return reuse_config = False @@ -549,6 +554,7 @@ def main(): print(f" http://{lan}:{FLASK_PORT}/") print() print("Done.") + print(next_step) return print(" External access lets you reach the dashboard from outside") @@ -564,6 +570,7 @@ def main(): print(f" http://{lan}:{FLASK_PORT}/") print() print("Done.") + print(next_step) return # -- Caddy ----------------------------------------------------- @@ -599,10 +606,7 @@ def main(): print(" and that port 80 and 443 are forwarded to this machine.") print() print("Done.") - print() - print(" Next step: use the web dashboard to configure your network, or") - print(f" configure {SCRIPT_DIR}/core.json manually and then run:") - print(f" sudo python3 {SCRIPT_DIR}/core.py --apply") + print(next_step) if __name__ == "__main__":