feat: initial KosmoConnect platform v0.1
Includes: - Backend services: ingestion (:8001), weather API (:8002), gateway (:8003), billing (:8004) with BTCPay integration - Shared asyncpg pool, TimescaleDB hypertable, Redis, Mosquitto MQTT - React frontend: Dashboard (MapLibre) and Messaging (chat UI) - Bridge daemon for Pi + Meshtastic (Serial/TCP T-Deck support) - Production Docker Compose, Nginx reverse proxy, ops scripts - DEPLOY.md with step-by-step deployment guide
This commit is contained in:
23
web/build.sh
Executable file
23
web/build.sh
Executable file
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Build all web frontends for production deployment
|
||||
# Output goes to each app's dist/ directory
|
||||
|
||||
cd "$(dirname "$0")"
|
||||
|
||||
echo "Building Dashboard..."
|
||||
cd dashboard
|
||||
npm install
|
||||
npm run build
|
||||
cd ..
|
||||
|
||||
echo "Building Messaging..."
|
||||
cd messaging
|
||||
npm install
|
||||
npm run build
|
||||
cd ..
|
||||
|
||||
echo "Build complete."
|
||||
echo "Dashboard static files: dashboard/dist/"
|
||||
echo "Messaging static files: messaging/dist/"
|
||||
Reference in New Issue
Block a user