Development

This commit is contained in:
Matthew Grotke 2026-05-24 00:26:46 -04:00
parent 1c8fbc60c0
commit 62fe75d7fd

View file

@ -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__":