feat(deploy): 添加一键部署和更新脚本

添加交互式安装脚本 install.js 和一键更新脚本 update.js
更新部署文档和 README 以支持新功能
优化数据库初始化流程和系统设置默认值
This commit is contained in:
zhang1106
2026-02-05 12:35:50 +08:00
parent a4206ac474
commit 1438909d62
9 changed files with 2004 additions and 114 deletions
+3 -1
View File
@@ -6,7 +6,9 @@
"start": "concurrently \"npm run start:backend\" \"npm run start:frontend\"",
"start:backend": "cd backend && npm run dev",
"start:frontend": "cd frontend && npm run dev",
"install:all": "npm install && cd backend && npm install && cd ../frontend && npm install"
"install:all": "npm install && cd backend && npm install && cd ../frontend && npm install",
"deploy": "node install.js",
"update": "node update.js"
},
"keywords": [
"idc",