2 Star 2 Fork 0

小牛头 / 教育大数据项目

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
manage.py 440 Bytes
一键复制 编辑 原始数据 按行查看 历史
ljh 提交于 2019-12-21 09:01 . 修复几个查询比率的sql
from flask_migrate import MigrateCommand,Migrate
from flask_script import Manager,Server
from app import create_app
from flask import redirect
from app.model import db
app=create_app()
@app.route("/")
def index():
return redirect("index.html")
migrate=Migrate(app,db)
manager=Manager(app=app)
manager.add_command("server",Server(host='0.0.0.0'))
manager.add_command("db",MigrateCommand)
if __name__ == '__main__':
manager.run()
Python
1
https://gitee.com/calfhead_admin/education_big_data_project.git
git@gitee.com:calfhead_admin/education_big_data_project.git
calfhead_admin
education_big_data_project
教育大数据项目
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891