Exemple #1
0
from application.views import app
from application.authentication.auth import auth

app.register_blueprint(auth)
app.run(debug=True, host="0.0.0.0", port=5000)
Exemple #2
0
from application import initialize
from application.views import app

if __name__ == '__main__':
    app.run()
Exemple #3
0
from application.views import app
import os

app.run(debug=True, host="0.0.0.0", port=int(os.getenv("PORT", "5000")))
Exemple #4
0
"""This script starts the application"""
from application.views import app

if __name__ == '__main__':
    app.run(debug=True)
# This script starts the app
from application.views import app

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