Move project from bordanlage/ to repo root

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-26 14:31:08 +01:00
parent 946c0a5377
commit 77123a0df5
56 changed files with 0 additions and 0 deletions

17
scripts/init-pipes.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
set -e
PIPE_DIR="${PIPE_DIR:-/tmp/audio}"
mkdir -p "$PIPE_DIR"
for pipe in spotify.pcm airplay.pcm mopidy.pcm; do
path="$PIPE_DIR/$pipe"
if [ ! -p "$path" ]; then
mkfifo "$path"
echo "Created pipe: $path"
else
echo "Pipe already exists: $path"
fi
done
echo "All audio pipes ready."

25
scripts/setup-boot.sh Executable file
View 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"

21
scripts/setup-dev.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -e
echo "Setting up development environment..."
# Copy .env if not exists
if [ ! -f .env ]; then
cp .env.example .env
echo "Created .env from .env.example"
fi
# Create music directory
mkdir -p music
echo "Music directory: ./music (drop your files here)"
# Init pipes
bash scripts/init-pipes.sh
echo ""
echo "Done! Run 'make dev' to start all services."
echo "Dashboard: http://localhost:8080"