Beispiel #1
0
def api_run():
    app.run(debug=True)
Beispiel #2
0
def main():

    s = Schedule()
    s.run()
    app.run()
Beispiel #3
0
def main():
    s = Schedule()
    s.run()
    app.run(host='0.0.0.0', port=5000)
Beispiel #4
0
def main():
    s = Schedule()
    s.run()  # 启动代理池
    app.run()  # 启动代理池对外API接口
Beispiel #5
0
from Api.api import app
from Api.views import dummy_view, user_views, category_views, recipe_views

if __name__ == '__main__':
    app.run(debug=True)