fix: start scripts now validate prerequisites and stop on failure

- Check for Python and Node.js before starting
- Stop with clear error message if pip install fails
- Recommend Python 3.10-3.12 (3.13+ has compatibility issues)
- Show version info at startup for easier debugging
- Updated README with Python version guidance
This commit is contained in:
anoracleofra-code
2026-03-09 09:25:57 -06:00
parent 14dc1a714d
commit 28f92f1cb9
3 changed files with 99 additions and 22 deletions
+3 -2
View File
@@ -208,8 +208,9 @@ If you want to modify the code or run from source:
#### Prerequisites
* **Node.js** 18+ and **npm**
* **Python** 3.10+ with `pip`
* **Node.js** 18+ and **npm** — [nodejs.org](https://nodejs.org/)
* **Python** 3.10, 3.11, or 3.12 with `pip` — [python.org](https://www.python.org/downloads/) (**check "Add to PATH"** during install)
* ⚠️ Python 3.13+ may have compatibility issues with some dependencies. **3.11 or 3.12 is recommended.**
* API keys for: `aisstream.io` (required), and optionally `opensky-network.org` (OAuth2), `lta.gov.sg`
### Installation