-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEPLOY.bat
More file actions
35 lines (29 loc) · 765 Bytes
/
Copy pathDEPLOY.bat
File metadata and controls
35 lines (29 loc) · 765 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
@echo off
REM AI Image Generator - One-Click Deployment (Windows Batch)
REM Double-click this file to deploy to VPS
echo ==============================================
echo AI Image Generator - One-Click Deploy
echo ==============================================
echo.
echo This will deploy to: 76.13.242.128
echo.
REM Check if PowerShell is available
where powershell >nul 2>nul
if %errorlevel% neq 0 (
echo ERROR: PowerShell is required but not found.
pause
exit /b 1
)
REM Run the PowerShell script
echo Starting deployment...
echo.
powershell -ExecutionPolicy Bypass -File "%~dp0deploy-one-click.ps1"
if %errorlevel% neq 0 (
echo.
echo DEPLOYMENT FAILED
echo Check the error messages above.
pause
exit /b 1
)
echo.
pause