Development
This commit is contained in:
parent
ac0aa4de22
commit
91d8b950b7
5 changed files with 38 additions and 35 deletions
|
|
@ -545,7 +545,7 @@ def main():
|
|||
print(" This wizard installs required packages and optionally")
|
||||
print(" sets up the web dashboard and external HTTPS access.")
|
||||
|
||||
# -- Package manager -------------------------------------------
|
||||
# Package manager ===================================================
|
||||
pm = detect_pm()
|
||||
if pm is None:
|
||||
print()
|
||||
|
|
@ -557,11 +557,11 @@ def main():
|
|||
print(f"\n Detected package manager: {pm}")
|
||||
pm_ok = True
|
||||
|
||||
# -- Core packages ---------------------------------------------
|
||||
# Core packages =====================================================
|
||||
if pm_ok:
|
||||
install_core_packages(pm)
|
||||
|
||||
# -- Dashboard -------------------------------------------------
|
||||
# Dashboard =========================================================
|
||||
header("Dashboard (optional)")
|
||||
print(" The Routlin Dashboard is a web UI for managing the router.")
|
||||
print(" It runs as a Docker container. Without it, config.json must")
|
||||
|
|
@ -596,7 +596,7 @@ def main():
|
|||
default="y"
|
||||
)
|
||||
|
||||
# -- Docker ----------------------------------------------------
|
||||
# Docker ============================================================
|
||||
header("Docker")
|
||||
if pm_ok:
|
||||
install_docker(pm)
|
||||
|
|
@ -605,15 +605,15 @@ def main():
|
|||
else:
|
||||
print(" Docker is already installed.")
|
||||
|
||||
# -- docker-compose.yml ----------------------------------------
|
||||
# docker-compose.yml ================================================
|
||||
setup_docker_compose(reuse_config=reuse_config)
|
||||
create_dotfiles()
|
||||
|
||||
# -- Dashboard timer -------------------------------------------
|
||||
# Dashboard timer ===================================================
|
||||
header("Dashboard Timer")
|
||||
install_dashboard_timer()
|
||||
|
||||
# -- External access -------------------------------------------
|
||||
# External access ===================================================
|
||||
header("External Access (optional)")
|
||||
ext_domain = _external_access_domain()
|
||||
if ext_domain:
|
||||
|
|
@ -643,7 +643,7 @@ def main():
|
|||
print(next_step)
|
||||
return
|
||||
|
||||
# -- Caddy -----------------------------------------------------
|
||||
# Caddy =============================================================
|
||||
header("Caddy (HTTPS)")
|
||||
if pm_ok:
|
||||
install_caddy(pm)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue