Initial commit: abyssVpn project
- Tauri desktop app (apps/desktop) - Python Django API service (services/api) - Deployment scripts and docs
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
@echo off
|
||||
setlocal
|
||||
call "%~dp0config.bat"
|
||||
|
||||
echo [AbyssInfo] Uploading Netmaker installer and cached assets ...
|
||||
%SCP_BASE% "%~dp0vendor\nm-quick.sh" %SERVER_USER%@%SERVER_HOST%:/tmp/nm-quick.sh
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
%SCP_BASE% -r "%~dp0vendor\netmaker-assets" %SERVER_USER%@%SERVER_HOST%:/tmp/netmaker-assets
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
%SCP_BASE% "%~dp0remote\deploy_netmaker.sh" %SERVER_USER%@%SERVER_HOST%:/tmp/abyssinfo_deploy_netmaker.sh
|
||||
if errorlevel 1 exit /b 1
|
||||
|
||||
echo [AbyssInfo] Deploying Netmaker ...
|
||||
%SSH_BASE% "chmod +x /tmp/abyssinfo_deploy_netmaker.sh && /tmp/abyssinfo_deploy_netmaker.sh"
|
||||
if errorlevel 1 (
|
||||
echo [AbyssInfo] Netmaker deployment failed.
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [AbyssInfo] Netmaker deployment completed.
|
||||
|
||||
Reference in New Issue
Block a user