Skip to content

Latest commit

 

History

History
10 lines (10 loc) · 438 Bytes

README.md

File metadata and controls

10 lines (10 loc) · 438 Bytes
  • 本工程是flask基础框架,数据库mysql
  • 安装:
    • 1.安装python3,及一些依赖包,在requirements.txt
    • 2.配置config文件中对应的数据库地址
  • 运行方式:
    • 1.普通方式,以python方式直接运行appRun.py文件即可
    • 2.以uwsgi方式启动,启动start.sh
    • 3.生产环境重启,sh restart.sh
    • 4.gunicorn启动方式:gunicorn -c gunicorn.py wsgi:app
  • 测试提交