Skip to content

Commit 4d6b6b1

Browse files
Giu PlataniaGiu Platania
authored andcommitted
install from local source
1 parent 32b0d49 commit 4d6b6b1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

TASK.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# TASKS
2-
- 2026-03-01: DONE. Add a remote launcher script that installs the latest backend package and starts the API plus UI.
2+
- 2026-03-01: DONE. Add a remote launcher script that installs the backend from local source and starts the API plus UI.
33
- 2026-03-01: DONE. Add remote access documentation for LAN and public IP RCH deployments.
44
- 2026-02-26: DONE. Add LXMF outbound delivery acknowledgement handling and log recipient delivery confirmations to the event feed.
55
- 2026-02-26: DONE. Abort gateway startup when API host/port is already bound to prevent duplicate hub instances and ratchet contention.

docs/remoteAccess.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This guide explains how to reach a Reticulum Community Hub (RCH) instance from a
66

77
- `rch start` is intended for local desktop use and binds the API to `127.0.0.1`.
88
- For LAN or WAN access, run the gateway directly with `--api-host 0.0.0.0` (or another reachable interface).
9-
- For a single-command launcher that installs the latest backend package into a venv and starts both services, run `./run_server_ui_remote.sh`.
9+
- For a single-command launcher that installs the backend from local source into a venv and starts both services, run `./run_server_ui_remote.sh`.
1010
- Remote clients must authenticate with `RTH_API_KEY`.
1111
- Remote requests can use either `X-API-Key: <key>` or `Authorization: Bearer <key>`.
1212
- If the hub is reachable over the public internet, prefer a VPN or HTTPS/WSS behind a reverse proxy.

run_server_ui_remote.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ resolve_public_host() {
2727

2828
VENV_DIR="${VENV_DIR:-.venv}"
2929
RTH_STORAGE_DIR="${RTH_STORAGE_DIR:-RTH_Store}"
30-
RTH_BACKEND_PACKAGE="${RTH_BACKEND_PACKAGE:-ReticulumCommunityHub}"
3130
RTH_HUB_MODE="${RTH_HUB_MODE:-embedded}"
3231
RTH_DAEMON="${RTH_DAEMON:-0}"
3332
RTH_SERVICES="${RTH_SERVICES:-}"
@@ -85,9 +84,9 @@ if [[ "$STORAGE_DIR_PATH" != /* ]]; then
8584
STORAGE_DIR_PATH="${SCRIPT_DIR}/${STORAGE_DIR_PATH}"
8685
fi
8786

88-
echo "Installing backend package '${RTH_BACKEND_PACKAGE}'..."
87+
echo "Installing backend from local source..."
8988
"$PYTHON_EXE" -m pip install --upgrade pip
90-
"$PYTHON_EXE" -m pip install --upgrade "$RTH_BACKEND_PACKAGE"
89+
"$PYTHON_EXE" -m pip install -e .
9190

9291
echo "Ensuring WebSocket support for Uvicorn..."
9392
if ! "$PYTHON_EXE" -c "import websockets" >/dev/null 2>&1; then

0 commit comments

Comments
 (0)