Antalya-Restaurant/deploy.bat
2025-12-08 23:39:21 +05:30

40 lines
1.0 KiB
Batchfile

@echo off
echo ========================================
echo Antalya Restaurant - Deploy Script
echo ========================================
echo.
echo Step 1: Building site...
call npm run build
if %ERRORLEVEL% NEQ 0 (
echo Build failed! Please fix errors and try again.
pause
exit /b %ERRORLEVEL%
)
echo.
echo ========================================
echo Build successful!
echo ========================================
echo.
echo IMPORTANT: Upload ALL contents from the 'out' folder to your server.
echo.
echo Make sure to upload:
echo - All HTML files and folders
echo - The .htaccess file (Apache servers)
echo - The web.config file (IIS servers)
echo - All _next folder contents
echo - All images folder
echo.
echo Server upload location: public_html or www folder
echo.
echo After upload, test these URLs:
echo https://antalya.metatronnest.com/
echo https://antalya.metatronnest.com/about-antalya-restaurant/
echo https://antalya.metatronnest.com/antalya-turkish-food-blog/
echo.
pause