18 Star 35 Fork 21

eoolife/flask.scalable_rest

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
bootstrap.py 476 Bytes
一键复制 编辑 原始数据 按行查看 历史
eoolife 提交于 2015-09-17 21:25 . 1. change uwsgi name to Bootstrap
#!/usr/bin/env python
# -*- coding:utf8 -*-
import os
from appmetrics.wsgi import AppMetricsMiddleware
from flask_scalarest import create_app
from flask_scalarest.extensions.jwt import jwt
here = os.path.dirname(os.path.realpath(__file__))
config_file = os.path.join(here, 'test_settings.py')
application = create_app(config_file)
application.wsgi_app = AppMetricsMiddleware(application.wsgi_app)
jwt.init_app(application)
if __name__ == '__main__':
application.run()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/eoolife/flask.scalable_rest.git
git@gitee.com:eoolife/flask.scalable_rest.git
eoolife
flask.scalable_rest
flask.scalable_rest
master

搜索帮助