Files
shopdb-flask/DEPLOY-NOW.bat
Proudlock c206195675 Add one-click deployment batch file
DEPLOY-NOW.bat - Double-click to deploy on VM
- Checks prerequisites
- Runs deploy-to-vm.ps1 automatically
- No command-line needed

Usage: Copy repo to VM, double-click DEPLOY-NOW.bat
2026-09-07 00:53:34 -04:00

25 lines
629 B
Batchfile

@echo off
REM ShopDB Quick Deploy - Double-click this file on the VM
REM This will deploy ShopDB Docker in one click
echo ========================================
echo ShopDB Docker Quick Deploy
echo ========================================
echo.
REM Check if we're in the right directory
if not exist "docker-compose.prebuilt.yml" (
echo ERROR: Not in shopdb-flask directory
echo Please run this from the repository root
pause
exit /b 1
)
echo Starting deployment...
echo.
REM Run PowerShell deployment script
powershell.exe -ExecutionPolicy Bypass -File "%~dp0deploy-to-vm.ps1" -SiteName "shopdb-vm"
pause