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
This commit is contained in:
Proudlock
2026-09-07 00:53:34 -04:00
parent bdc32fd134
commit c206195675

24
DEPLOY-NOW.bat Normal file
View File

@@ -0,0 +1,24 @@
@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