We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e541a9e + 067e747 commit b19f507Copy full SHA for b19f507
start.sh
@@ -52,6 +52,19 @@ fi
52
# Create a log directory
53
mkdir -p logs
54
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
+
68
# Start Next.js frontend on port 3001
69
echo -e "${BLUE}Starting Next.js frontend...${NC}"
70
PORT=3001 npm run dev > logs/frontend.log 2>&1 &
0 commit comments