summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorSt33v <github@f3rr3t.com>2026-06-10 13:30:38 +1000
committerSt33v <github@f3rr3t.com>2026-06-10 13:30:38 +1000
commitba84faaf144cd15af3aba2650c043467fe31ee06 (patch)
treec971106c31db0c8e07a32dd6307d4a771a1f547f /setup.sh
parent5eff385770b3a7ddcfb9fcf4349be28013251a75 (diff)
Add Canberra and Cairns radars; cross-page nav
Two new product codes: IDR403 (Canberra) and IDR193 (Cairns). radar.service / radar-retry.service gain two more ExecStart= lines. Per-radar pages: nav strip at top with all four radars + a Synoptic button linking to pestrel.com; current page is highlighted. Layout switched to column flex (nav on top, image fills below) and the image now uses `width: 100%; max-width: 512px` so it fills phone viewports without upscaling beyond the BOM-native 512px on desktop. Synoptic page (index.html): "Radars" button fixed to the left edge at top 16.6%, linking to https://radar.pestrel.com/. Landing page (radar.pestrel.com/): rebalanced for four radars plus a dashed-border Synoptic button. nginx/radar.pestrel.com.conf: pulled in the certbot-managed TLS block so a fresh setup matches production state. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Diffstat (limited to 'setup.sh')
-rwxr-xr-xsetup.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/setup.sh b/setup.sh
index 89994ae..a9b2fec 100755
--- a/setup.sh
+++ b/setup.sh
@@ -65,6 +65,8 @@ install -d -o "$OWNER" -g "$OWNER" /var/lib/radar
install -d -o "$OWNER" -g "$OWNER" /srv/www/radar
install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/sydney
install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/brisbane
+install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/canberra
+install -d -o "$OWNER" -g "$OWNER" /srv/www/radar/cairns
# ---------------------------------------------------------------------------
# Web content
@@ -74,6 +76,8 @@ install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/index.html" /srv/www/pestrel
install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.index.html" /srv/www/radar/index.html
install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.sydney.html" /srv/www/radar/sydney/index.html
install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.brisbane.html" /srv/www/radar/brisbane/index.html
+install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.canberra.html" /srv/www/radar/canberra/index.html
+install -o "$OWNER" -g "$OWNER" -m 644 "$SCRIPT_DIR/radar.cairns.html" /srv/www/radar/cairns/index.html
echo "==> Installing radarFetch.sh..."
install -o "$OWNER" -g "$OWNER" -m 755 "$SCRIPT_DIR/radarFetch.sh" /opt/radar/radarFetch.sh