summaryrefslogtreecommitdiff
path: root/start.sh
diff options
context:
space:
mode:
authorkarpathy <andrej.karpathy@gmail.com>2025-11-22 14:27:53 -0800
committerkarpathy <andrej.karpathy@gmail.com>2025-11-22 14:27:53 -0800
commiteb0eb26f4cefa4880c895ff017f312e8674f9b73 (patch)
treeea20b736519a5b4149b0356fec93447eef950e6b /start.sh
v0
Diffstat (limited to 'start.sh')
-rwxr-xr-xstart.sh31
1 files changed, 31 insertions, 0 deletions
diff --git a/start.sh b/start.sh
new file mode 100755
index 0000000..5d87cc8
--- /dev/null
+++ b/start.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+# LLM Council - Start script
+
+echo "Starting LLM Council..."
+echo ""
+
+# Start backend
+echo "Starting backend on http://localhost:8001..."
+uv run python -m backend.main &
+BACKEND_PID=$!
+
+# Wait a bit for backend to start
+sleep 2
+
+# Start frontend
+echo "Starting frontend on http://localhost:5173..."
+cd frontend
+npm run dev &
+FRONTEND_PID=$!
+
+echo ""
+echo "✓ LLM Council is running!"
+echo " Backend: http://localhost:8001"
+echo " Frontend: http://localhost:5173"
+echo ""
+echo "Press Ctrl+C to stop both servers"
+
+# Wait for Ctrl+C
+trap "kill $BACKEND_PID $FRONTEND_PID 2>/dev/null; exit" SIGINT SIGTERM
+wait