fist pass

This commit is contained in:
root
2026-01-31 22:18:40 +00:00
parent a582e1f272
commit a28013de4a
23 changed files with 4131 additions and 823 deletions

20
start.sh Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Start BarkWho on CT 118 - rebuilds containers to pick up .env and code changes
REMOTE="root@192.168.2.118"
PROJECT="/opt/barkwho"
echo "Syncing local code to container..."
rsync -avz --exclude node_modules --exclude .git --exclude .claude \
--exclude '*.png' --exclude '*.Identifier' --exclude README.md \
/home/jramos/barkwho/ "$REMOTE:$PROJECT/"
echo "Building and starting containers..."
ssh "$REMOTE" "cd $PROJECT && docker compose up --build -d"
echo "Waiting for services..."
sleep 3
ssh "$REMOTE" "docker compose -f $PROJECT/docker-compose.yml ps"
echo ""
echo "Frontend: http://192.168.2.118:5173"
echo "Backend: http://192.168.2.118:3001"