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:
14
network-poc/local.sh
Executable file
14
network-poc/local.sh
Executable 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
|
||||
Reference in New Issue
Block a user