示例#1
0
# -*- coding: utf-8 -*-
from transmogrifier import create_app
application = create_app()
ctx = application.test_request_context()
ctx.push()
示例#2
0
# -*- coding: utf-8 -*-
from transmogrifier import create_app
from transmogrifier.settings import ProdConfig
application = create_app(config=ProdConfig)

if __name__ == "__main__":
    application.run(**application.config['WERKZEUG_OPTS'])