后端版本服务器部署成功

This commit is contained in:
2025-09-11 15:46:43 +08:00
parent 068b7887a9
commit cb55ee2714
4 changed files with 4 additions and 254 deletions

View File

@@ -1,20 +0,0 @@
#!/bin/bash
# 无数据库模式启动脚本
# 确保脚本可执行
echo "🔧 正在准备无数据库模式启动..."
# 设置NODE_ENV为development
export NODE_ENV=development
# 设置NO_DB_MODE为true
export NO_DB_MODE=true
# 启动服务器
echo "🚀 以无数据库模式启动服务器..."
echo "⚠️ 注意:在无数据库模式下,许多功能将不可用"
echo "📝 查看 /health 和 /system-stats 端点获取服务器状态"
echo "📚 Swagger文档可在 /api-docs 访问"
npm run dev

1
backend/start-without-db.sh Symbolic link
View File

@@ -0,0 +1 @@
start-server.sh