feat(deploy): 添加一键部署和更新脚本
添加交互式安装脚本 install.js 和一键更新脚本 update.js 更新部署文档和 README 以支持新功能 优化数据库初始化流程和系统设置默认值
This commit is contained in:
+3
-1
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user