From c2061956754935b2567a79ce1dccdc767bd7f0c1 Mon Sep 17 00:00:00 2001 From: Proudlock <270015376@geaerospace.com> Date: Mon, 7 Sep 2026 00:53:34 -0400 Subject: [PATCH] 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 --- DEPLOY-NOW.bat | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 DEPLOY-NOW.bat diff --git a/DEPLOY-NOW.bat b/DEPLOY-NOW.bat new file mode 100644 index 00000000..c839c665 --- /dev/null +++ b/DEPLOY-NOW.bat @@ -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