python-flask和Vue两种模式初模板
This commit is contained in:
@ -1,6 +1,8 @@
|
||||
# 文件路径: run.py (在项目根目录下,与 config.py 同级)
|
||||
from app import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
# debug=True 修改代码后会自动重启
|
||||
app.run(host='0.0.0.0', port=5000, debug=True)
|
||||
Reference in New Issue
Block a user