Пример #1
0
# import backend.main
from backend.main import app

if __name__ == "__main__":
    app.run()
Пример #2
0
from backend.main import app

app.run(host='0.0.0.0', port=5000)
Пример #3
0
from backend.main import app, db

if __name__ == '__main__':
    db.create_all()
    app.run(debug=True, host='0.0.0.0')