refactor: project restructuring - migrate to modular directory layout
- Move root-level docs into docs/ directory - Move config files into config/ directory - Move docker files into docker/ directory - Move test scripts into tests/ directory - Remove .env from tracking (use .env.example as template) - Remove .venv/ from tracking (use requirements.txt) - Add Vue3 frontend app (vue-app/) - Add new routes: upload, user_templates, meeting_minutes, etc. - Add database migrations for prompt_template additions - Fix load_dotenv() to use absolute path for Flask reloader compatibility Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
14
scripts/run_dev_fixed.py
Normal file
14
scripts/run_dev_fixed.py
Normal file
@@ -0,0 +1,14 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
修复版本的开发服务器启动脚本
|
||||
"""
|
||||
from src.flask_prompt_master import create_app
|
||||
|
||||
if __name__ == '__main__':
|
||||
app = create_app()
|
||||
app.run(
|
||||
host='0.0.0.0', # 绑定到所有地址
|
||||
port=5002,
|
||||
debug=True,
|
||||
use_reloader=False # 禁用自动重载,避免连接问题
|
||||
)
|
||||
Reference in New Issue
Block a user