Delete build-frontend.bat
Browse files- build-frontend.bat +0 -47
build-frontend.bat
DELETED
|
@@ -1,47 +0,0 @@
|
|
| 1 |
-
@echo off
|
| 2 |
-
echo ============================================
|
| 3 |
-
echo Building Frontend for Production
|
| 4 |
-
echo ============================================
|
| 5 |
-
echo.
|
| 6 |
-
|
| 7 |
-
cd frontend
|
| 8 |
-
|
| 9 |
-
echo [1/2] Installing dependencies...
|
| 10 |
-
call npm install
|
| 11 |
-
if errorlevel 1 (
|
| 12 |
-
echo ERROR: Failed to install dependencies
|
| 13 |
-
pause
|
| 14 |
-
exit /b 1
|
| 15 |
-
)
|
| 16 |
-
echo ✓ Dependencies installed
|
| 17 |
-
echo.
|
| 18 |
-
|
| 19 |
-
echo [2/2] Building frontend...
|
| 20 |
-
call npm run build
|
| 21 |
-
if errorlevel 1 (
|
| 22 |
-
echo ERROR: Build failed
|
| 23 |
-
pause
|
| 24 |
-
exit /b 1
|
| 25 |
-
)
|
| 26 |
-
echo ✓ Frontend built successfully
|
| 27 |
-
echo.
|
| 28 |
-
|
| 29 |
-
cd ..
|
| 30 |
-
|
| 31 |
-
echo ============================================
|
| 32 |
-
echo Build Complete!
|
| 33 |
-
echo ============================================
|
| 34 |
-
echo.
|
| 35 |
-
echo Frontend built to: frontend/dist/
|
| 36 |
-
echo.
|
| 37 |
-
echo Ready to push to Hugging Face!
|
| 38 |
-
echo.
|
| 39 |
-
echo Next steps:
|
| 40 |
-
echo 1. Commit changes: git add . && git commit -m "Build frontend"
|
| 41 |
-
echo 2. Push to GitHub: git push origin main
|
| 42 |
-
echo 3. GitHub Actions will auto-deploy to HF
|
| 43 |
-
echo.
|
| 44 |
-
echo Or push directly to HF:
|
| 45 |
-
echo git push hf main
|
| 46 |
-
echo ============================================
|
| 47 |
-
pause
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|