generated-bill / start.sh
narasimha01tm's picture
Final fix: Move backend mocks to src and fix PaddleOCR args
51c14fb
Raw History Blame Contribute Delete
341 Bytes
#!/bin/bash
# Start Python OCR server in background
echo "Starting Python OCR server..."
echo "Checking backend files..."
ls -l backend/src/mockBackend.tsx
python backend/src/python/ocr_server.py &
# Wait for a few seconds for Python server to start
sleep 5
# Start Node.js backend
echo "Starting Node.js backend..."
npm run backend:prod