Exemple #1
0
from hello_world import app

if __name__ == "__main__":
    app.run(host="0.0.0.0")
from hello_world import app
from flask import Flask

if __name__ == "__main__":
    app.run()
from hello_world import app

if __name__ == "__main__":
    app.run(host = '127.0.0.1', port = 5000, debug = True)
Exemple #4
0
from hello_world import app
import os

app.secret_key = os.urandom(24)
app.run(debug=True)
#port = int(os.environ.get('PORT', 5000))

Exemple #5
0
__author__ = "Kibur"

# Running Flask server

from hello_world import app

app.run(host="0.0.0.0")