예제 #1
0
def test():
    all_models()

    app = create_app()
    with app.app_context():
        db.drop_all()
        db.create_all()
예제 #2
0
def test():
    all_models()

    app = create_app()
    with app.app_context():
        db.drop_all()
        db.create_all()
예제 #3
0
def run_server():
    app = create_app()
    app.run(host='0.0.0.0', port=13337, debug=True)
예제 #4
0
def run_server():
    app = create_app()
    app.run(host='0.0.0.0', port=13337, debug=True)