From c4fe022d423c9744557af57407cf94d55c45b1f7 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Fri, 15 May 2026 00:26:45 -0400 Subject: [PATCH] Reorganized files in preparation for interface work --- docker/router-dash/app/main.py | 12 ++++++++++++ docker/router-dash/data/authorized_accounts.json | 1 + docker/router-dash/data/dashboard_content.json | 1 + README.md => router/README.md | 2 +- core.json => router/core.json | 0 core.py => router/core.py | 0 ddns.json => router/ddns.json | 0 ddns.py => router/ddns.py | 0 vpn.py => router/vpn.py | 0 9 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 docker/router-dash/app/main.py create mode 100644 docker/router-dash/data/authorized_accounts.json create mode 100644 docker/router-dash/data/dashboard_content.json rename README.md => router/README.md (99%) rename core.json => router/core.json (100%) rename core.py => router/core.py (100%) rename ddns.json => router/ddns.json (100%) rename ddns.py => router/ddns.py (100%) rename vpn.py => router/vpn.py (100%) diff --git a/docker/router-dash/app/main.py b/docker/router-dash/app/main.py new file mode 100644 index 0000000..c212c79 --- /dev/null +++ b/docker/router-dash/app/main.py @@ -0,0 +1,12 @@ +from flask import Flask +from page_dashboard import bp as dashboard_bp +from page_signup import bp as signup_bp +from page_signin import bp as signin_bp + +app = Flask(__name__) +app.register_blueprint(dashboard_bp) +app.register_blueprint(signup_bp) +app.register_blueprint(signin_bp) + +if __name__ == "__main__": + app.run(host="0.0.0.0", port=25327) diff --git a/docker/router-dash/data/authorized_accounts.json b/docker/router-dash/data/authorized_accounts.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/docker/router-dash/data/authorized_accounts.json @@ -0,0 +1 @@ +{} diff --git a/docker/router-dash/data/dashboard_content.json b/docker/router-dash/data/dashboard_content.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/docker/router-dash/data/dashboard_content.json @@ -0,0 +1 @@ +{} diff --git a/README.md b/router/README.md similarity index 99% rename from README.md rename to router/README.md index 7428adf..cccf24a 100644 --- a/README.md +++ b/router/README.md @@ -89,7 +89,7 @@ These packages are required. `core.py --install` checks that they are installed The following services conflict with this suite. No manual action is required: `core.py` disables them automatically on `--apply`. `core.py` re-enables them on `--disable`. - **systemd-resolved** - DNS stub resolver that conflicts with `dnsmasq` on port 53. Disabled on `--apply`; re-enabled on `--disable`. -- **systemd-timesyncd** - Basic SNTP client that cannot serve time to LAN clients. Disabled on `--apply` and replaced by `chrony`; re-enabled on `--disable`. +- **systemd-timesyncd** - Basic SNTP client that cannot serve time to LAN clients; replaced by `chrony`. Disabled on `--apply`; re-enabled on `--disable`. - **ufw** - Firewall manager that conflicts with the `nftables` ruleset. Disabled on `--apply` without removal. --- diff --git a/core.json b/router/core.json similarity index 100% rename from core.json rename to router/core.json diff --git a/core.py b/router/core.py similarity index 100% rename from core.py rename to router/core.py diff --git a/ddns.json b/router/ddns.json similarity index 100% rename from ddns.json rename to router/ddns.json diff --git a/ddns.py b/router/ddns.py similarity index 100% rename from ddns.py rename to router/ddns.py diff --git a/vpn.py b/router/vpn.py similarity index 100% rename from vpn.py rename to router/vpn.py