Initial implementation: Bordanlage boat onboard system
Complete multiroom audio + navigation dashboard: - Docker stack: SignalK, Snapcast (4 zones), librespot, shairport-sync, Mopidy, Jellyfin, Portainer - React 18 + Vite dashboard with nautical dark theme - Full mock system (SignalK NMEA simulation, Snapcast zones, Mopidy player) - Real API clients for all services with reconnect logic - SVG instruments: Compass, WindRose, Gauge, DepthSounder, SpeedLog - Pages: Overview, Navigation, Audio (zones/radio/library), Systems - Dev mode runs fully without hardware (make dev) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
25
bordanlage/scripts/setup-boot.sh
Executable file
25
bordanlage/scripts/setup-boot.sh
Executable file
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
set -e
|
||||
|
||||
echo "Setting up production (boat) environment..."
|
||||
|
||||
# Copy .env if not exists
|
||||
if [ ! -f .env ]; then
|
||||
cp .env.example .env
|
||||
echo "Created .env – please edit SPOTIFY_NAME, BOAT_NAME, BOAT_MMSI"
|
||||
fi
|
||||
|
||||
# Create music directory
|
||||
mkdir -p music
|
||||
|
||||
# Init pipes (persistent on boat)
|
||||
PIPE_DIR=/tmp/audio bash scripts/init-pipes.sh
|
||||
|
||||
echo ""
|
||||
echo "Edit .env then run 'make boot' to start."
|
||||
echo "Dashboard: http://<boat-ip>:8080"
|
||||
echo ""
|
||||
echo "IMPORTANT: Review docker-compose.yml and uncomment:"
|
||||
echo " - /dev/ttyUSB0 for NMEA hardware"
|
||||
echo " - /dev/snd for zone audio output"
|
||||
echo " - /dev/dri for hardware video decoding"
|
||||
Reference in New Issue
Block a user