local.sh: buildaa frontendin ja käynnistää hubin yhdellä komennolla

Käyttö: ./network-poc/local.sh → http://localhost:3000

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jaakko Vanhala
2026-04-09 19:42:24 +03:00
parent 9925079729
commit e3fdb91ac5

14
network-poc/local.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/bash
set -e
echo "=== Kipinä Studio Local Development ==="
# Frontend build
echo "[1/2] Rakennetaan frontend..."
cd "$(dirname "$0")/frontend"
npm run build --silent 2>&1 | tail -1
# Hub
echo "[2/2] Käynnistetään hub..."
cd ../hub
cargo run