Skip to content

Commit 4e446c0

Browse files
committed
start front and back
1 parent e90eba1 commit 4e446c0

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,9 @@
11
#!/bin/bash
22

33
# Install Python deps
4+
source venv/bin/activate
45
pip install --break-system-packages -r backend/requirements.txt
56

6-
7-
# Start frontend with Vite
8-
cd frontend
9-
npm install
10-
npm run dev
11-
cd ..
12-
137
# Start FastAPI backend
148
cd backend
15-
uvicorn qanda_api:app --host 0.0.0.0 --port 8000 &
16-
9+
uvicorn qanda_api:app --host 0.0.0.0 --port 8000

start-front.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
# Start frontend with Vite
4+
cd frontend
5+
npm install
6+
npm run dev
7+
cd ..

0 commit comments

Comments
 (0)