basestation3

Automated basestation3 install/update scripts

NOTE These scripts are highly experimental and not yet considered appropriate for general use.

install_basestation.sh and update_basestation.sh automate the steps described in the main Readme.md’s “Installation for a realtime basestation” section - system packages, the gliders group, the PAM login edit, the /usr/local/basestation3 checkout, the uv venv setup, and the login/logout scripts. Chromium/Playwright are dev/CI-only concerns (the ci extras group in pyproject.toml, used by the test suite’s browser-click test) and are never installed on a production host.

install_basestation.sh

Fresh install, from system packages through login/logout scripts:

sudo install/install_basestation.sh --pilot-user <user>

update_basestation.sh

Updates an existing install (git pull the source, re-sync the uv venv, refresh the login/logout scripts if they haven’t been hand-edited), without repeating the one-time group/PAM/package steps:

sudo install/update_basestation.sh --pilot-user <user>

What these scripts do not cover

Those remain manual, advanced steps documented in the main Readme.md. The manual walkthrough there is also the reference for what these scripts do under the hood, useful if a script fails partway through.