1 Star 0 Fork 372

Budding / walle-web

forked from wushuiyong / walle-web 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
waller.py 451 Bytes
一键复制 编辑 原始数据 按行查看 历史
wushuiyong 提交于 2018-11-20 20:55 . new version
# -*- coding: utf-8 -*-
"""Create an application instance."""
import sys
from flask.helpers import get_debug_flag
from walle.app import create_app
from walle.config.settings_dev import DevConfig
from walle.config.settings_test import TestConfig
from walle.config.settings_prod import ProdConfig
CONFIG = DevConfig if get_debug_flag() else ProdConfig
if len(sys.argv) > 2 and sys.argv[2] == 'test':
CONFIG = TestConfig
app = create_app(CONFIG)
Python
1
https://gitee.com/Budding666/walle-web.git
git@gitee.com:Budding666/walle-web.git
Budding666
walle-web
walle-web
master

搜索帮助