v2431/FormulaShowcase
0
1# start_web_report.py
2# -*- coding: utf-8 -*-
3
4from web_report import app
5from pathlib import Path
6
7if __name__ == '__main__':
8 # 创建必要的目录
9 templates_dir = Path('templates')
10 static_dir = Path('static')
11 templates_dir.mkdir(exist_ok=True)
12 static_dir.mkdir(exist_ok=True)
13
14 # 启动应用
15 app.run(debug=False, host='0.0.0.0', port=8080)