Files
lingniu-vehicle-ingest/vehicle-data-platform/scripts/oneos-local.py
T
lingniu d6b957dfc8 feat: sync vehicle monitoring and accumulated platform updates
Add monitoring metrics, numeric sorting, report-time display, vehicle number labels, and map layout fixes. Include accumulated mileage, hydrogen, OneOS authentication, open platform, ingestion, deployment, and UI updates.

Exclude temporary files, generated reports, and credentials. Validate frontend 632 tests and production build, API packages, vehicle-map tests, and release installer tests. Gateway suite has one pre-existing date-sensitive identity throttling test failure reproduced on the parent commit.
2026-10-26 18:05:59 +08:00

16 lines
546 B
Python

#!/usr/bin/env python3
"""Start the local platform against real dev OneOS; --fixture opts into simulation."""
from pathlib import Path
import runpy
import sys
if __name__ == "__main__":
backend = "--backend" in sys.argv
if backend:
sys.argv.remove("--backend")
fixture = "--fixture" in sys.argv
if fixture:
sys.argv.remove("--fixture")
target = Path(__file__).with_name("oneos-backend.py" if backend else "oneos-fixture.py" if fixture else "oneos-dev.py")
runpy.run_path(str(target), run_name="__main__")