refactor: 清理不需要的代码文件,添加.gitignore,优化项目结构
This commit is contained in:
54
update_config.json
Normal file
54
update_config.json
Normal file
@@ -0,0 +1,54 @@
|
||||
{
|
||||
"app_name": "tsp_assistant",
|
||||
"deploy_path": "/opt/tsp_assistant",
|
||||
"backup_path": "./backups",
|
||||
"service_name": "tsp_assistant",
|
||||
"health_url": "http://localhost:5000/api/health",
|
||||
"update_timeout": 300,
|
||||
"rollback_enabled": true,
|
||||
"auto_backup": true,
|
||||
"hot_update_enabled": true,
|
||||
"environments": {
|
||||
"development": {
|
||||
"path": "./dev_deploy",
|
||||
"service_name": "",
|
||||
"auto_restart": false,
|
||||
"description": "开发环境"
|
||||
},
|
||||
"staging": {
|
||||
"path": "/opt/tsp_assistant_staging",
|
||||
"service_name": "tsp_assistant_staging",
|
||||
"auto_restart": true,
|
||||
"description": "测试环境"
|
||||
},
|
||||
"production": {
|
||||
"path": "/opt/tsp_assistant",
|
||||
"service_name": "tsp_assistant",
|
||||
"auto_restart": true,
|
||||
"description": "生产环境"
|
||||
}
|
||||
},
|
||||
"hot_update_files": [
|
||||
"src/web/static/js/dashboard.js",
|
||||
"src/web/static/css/style.css",
|
||||
"src/web/templates/dashboard.html",
|
||||
"src/web/app.py",
|
||||
"src/knowledge_base/knowledge_manager.py",
|
||||
"src/dialogue/realtime_chat.py",
|
||||
"src/agent/agent_core.py",
|
||||
"src/agent/tool_manager.py"
|
||||
],
|
||||
"critical_files": [
|
||||
"init_database.py",
|
||||
"requirements.txt",
|
||||
"version.json",
|
||||
"src/core/models.py",
|
||||
"src/core/database.py"
|
||||
],
|
||||
"notification": {
|
||||
"enabled": true,
|
||||
"webhook_url": "",
|
||||
"email": "",
|
||||
"slack_channel": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user