invoice_extractor / setup.bat
github-actions[bot]
Sync from GitHub: 922d61677657398e61342f3cabff773c13c26de4
060dc2a
raw
history blame
1.2 kB
@echo off
echo ============================================
echo Invoice Extractor - Complete Setup
echo ============================================
echo.
echo [1/4] Installing Backend Dependencies...
pip install -r requirements.txt
if errorlevel 1 (
echo ERROR: Failed to install backend dependencies
pause
exit /b 1
)
echo βœ“ Backend dependencies installed
echo.
echo [2/4] Installing Frontend Dependencies...
cd frontend
call npm install
if errorlevel 1 (
echo ERROR: Failed to install frontend dependencies
pause
exit /b 1
)
echo βœ“ Frontend dependencies installed
echo.
echo [3/4] Setting up Frontend Environment...
if not exist .env (
copy .env.example .env
echo βœ“ Created .env file
) else (
echo βœ“ .env file already exists
)
cd ..
echo.
echo [4/4] Setup Complete!
echo.
echo ============================================
echo Ready to start the application!
echo ============================================
echo.
echo To start the backend:
echo python app.py
echo.
echo To start the frontend:
echo cd frontend
echo npm run dev
echo.
echo Then open http://localhost:3000 in your browser
echo ============================================
pause