abse/museair-usb

USB-C–powered ESP32-C3 controller board with AP63203 buck conversion, AP2112K 3.3V regulation, I²C SEN62 sensor interface, status LED, buttons, UART/I²C headers, and extensive decoupling.

Version
0.5.7
License
unset
Stars
0

scripts/cloud-setup.sh

#!/usr/bin/env bash
set -euo pipefail
museair_project_root="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$museair_project_root"
for museair_tool in python3 node npm bun; do
  if ! command -v "$museair_tool" >/dev/null 2>&1; then
    echo "Missing tool: $museair_tool. See docs/CLOUD-SETUP.md." >&2
    exit 1
  fi
done
python3 scripts/verify-handoff.py
npm ci
npm run typecheck
echo "Dependencies and TypeScript are ready. Read CHAT-CONTEXT.md before editing."
echo "Native KiCad, PCB rebuild, shorts and physical tests have not run in this setup step."