chore: 仅保留 pull-and-restart.sh 与 restart.sh,两脚本均检测并安装 Docker;删除其余脚本与 .bat

Made-with: Cursor
This commit is contained in:
whm
2026-03-17 15:16:15 +08:00
parent 20e7f3a65d
commit 1022d99708
8 changed files with 105 additions and 247 deletions

View File

@@ -1,8 +0,0 @@
@echo off
chcp 65001 >nul
cd /d "%~dp0"
echo Starting backend with hot reload...
if not exist tmp mkdir tmp
CompileDaemon -command=tmp\main.exe -build="go build -o tmp\main.exe ."

View File

@@ -1,13 +0,0 @@
@echo off
REM MongoDB SSH 穿透 - 将远程 27017 映射到本地 27017
REM 运行此脚本后再启动 server即可连接远程 MongoDB
echo 正在建立 SSH 隧道...
echo 远程: www.yuxindazhineng.com:27017 -^> 本地: localhost:27017
echo.
echo 保持此窗口打开,隧道有效。关闭窗口即断开。
echo.
ssh -p 2223 -L 27017:localhost:27017 yxd@www.yuxindazhineng.com
pause