Skip to content

Latest commit

 

History

History
30 lines (15 loc) · 344 Bytes

README.md

File metadata and controls

30 lines (15 loc) · 344 Bytes

Flask

安装依赖

pip install -r requirements.txt

修改数据库连接

ORM flask-sqlachemy

数据库表模型迁移

flask-sqlacodegen "mysql+pymysql://root:password@host:port/database" --tables user --outfile "app/test.py" --flask

运行

python manage.py runserver