Skip to content

Commit faed10f

Browse files
author
Rafael Teodoro
committed
Fix start-dev.sh: Backend failed to start due to venv activation issue
- Use venv Python directly instead of trying to activate in background process - Fix frontend path from '../frontend' to 'frontend' - Backend now starts correctly with virtualenv dependencies
1 parent 8ce682f commit faed10f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

start-dev.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ cd ..
6363

6464
echo "🚀 Starting Backend on http://localhost:8000..."
6565
cd backend
66-
source venv/bin/activate
67-
python main.py &
66+
./venv/bin/python main.py &
6867
BACKEND_PID=$!
68+
cd ..
6969

7070
echo "🚀 Starting Frontend on http://localhost:3000..."
71-
cd ../frontend
71+
cd frontend
7272
npm run dev &
7373
FRONTEND_PID=$!
7474

0 commit comments

Comments
 (0)