Skip to content

Commit b19f507

Browse files
Merge branch 'patch-only-no-features' into main
2 parents e541a9e + 067e747 commit b19f507

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

start.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,19 @@ fi
5252
# Create a log directory
5353
mkdir -p logs
5454

55+
# Install Python backend dependencies
56+
echo -e "${BLUE}Installing Python backend dependencies...${NC}"
57+
if [ -f "backend/requirements.txt" ]; then
58+
cd "backend"
59+
python3 -m venv venv
60+
source venv/bin/activate
61+
pip install -r requirements.txt
62+
cd "$ROOT_DIR"
63+
else
64+
echo -e "${RED}Error: requirements.txt not found in backend directory${NC}"
65+
exit 1
66+
fi
67+
5568
# Start Next.js frontend on port 3001
5669
echo -e "${BLUE}Starting Next.js frontend...${NC}"
5770
PORT=3001 npm run dev > logs/frontend.log 2>&1 &

0 commit comments

Comments
 (0)