v0.9.5: bubble for Android 0.7.8 — the relay is just a relay server: its address is a setting, and deploy-relay.sh reads scripts/relay.env

This commit is contained in:
2026-11-16 11:19:54 -08:00
parent 8b3cfdca24
commit 6f365df087
24 changed files with 103 additions and 93 deletions
+6 -3
View File
@@ -1,4 +1,7 @@
#!/bin/bash
# The one real command line for bubble-relay on jai (~/startup.sh and scripts/deploy-jai.sh both run this).
cd /home/jai/Documents/bubble-server/app || exit 1
exec python3 bubble_relay.py --host 100.69.139.40 --port 8080 --data /home/jai/Documents/bubble-server/data
# The one real command line for the relay server (scripts/deploy-relay.sh runs
# it; run it at boot too). relay.env next to it, written by the deploy, says
# which address and port to listen on.
cd "$(dirname "$(readlink -f "$0")")" || exit 1
. ./relay.env
exec python3 bubble_relay.py --host "$RELAY_BIND" --port "${RELAY_PORT:-8080}" --data ../data