From f74a17485fc762e29b96867d8362e18acc6a819e Mon Sep 17 00:00:00 2001 From: Daniel Bedeleanu Date: Sat, 18 Apr 2026 13:22:48 +0000 Subject: [PATCH] fix: add npm install and expose pip install errors in start_server.sh --- start_server.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/start_server.sh b/start_server.sh index 1f0834e3..8d9e2887 100755 --- a/start_server.sh +++ b/start_server.sh @@ -32,7 +32,7 @@ source .venv/bin/activate # 3. Check and Install Backend Dependencies echo "📦 Updating Python dependencies..." -pip install -q -r backend/requirements.txt +pip install -r backend/requirements.txt # 4. Get Local IP and set environment variables LOCAL_IP=$(hostname -I | awk '{print $1}' || echo "localhost") @@ -64,6 +64,8 @@ python3 -m uvicorn backend.main:app --host 0.0.0.0 --port $BACKEND_PORT --reload # 5. Start Frontend (Next.js) echo "💻 Starting Frontend on port $FRONTEND_PORT..." cd frontend +echo "📦 Installing frontend dependencies..." +npm install npm run dev -- -p $FRONTEND_PORT & cd ..