Files
abyssVpn/deploy/06_configure_api_env.bat
arthur_chen f69efb67ad Initial commit: abyssVpn project
- Tauri desktop app (apps/desktop)
- Python Django API service (services/api)
- Deployment scripts and docs
2026-05-15 09:06:10 +08:00

18 lines
432 B
Batchfile

@echo off
setlocal
call "%~dp0config.bat"
echo [AbyssInfo] Configuring Django API .env ...
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0scripts\configure_api_env.ps1" ^
-ServerHost "%SERVER_HOST%" ^
-ServerUser "%SERVER_USER%" ^
-SshKey "%SSH_KEY%" ^
-ProjectRoot "%~dp0.."
if errorlevel 1 (
echo [AbyssInfo] Django API .env configuration failed.
exit /b 1
)
echo [AbyssInfo] Django API .env configured.