添加 start.sh

This commit is contained in:
ywp
2025-10-22 14:57:42 +08:00
parent 10ac17e8b1
commit 1f553dff6d

8
start.sh Normal file
View File

@ -0,0 +1,8 @@
#!/bin/bash
set -e
# 启动 Node.js 后端
node server.js &
# 启动 Nginx前台模式
nginx -g 'daemon off;'