from flask import Flask from Main import app from Main import database from Main import db if __name__ == "__main__": app.run(host="0.0.0.0", port=80) db.disconnect()
from Main import app if __name__ == "__main__": app.run()
from Main import app if __name__ == '__main__': app.run(debug=True)
def run(self): app.run(debug=True,host='127.0.0.1',port=self.port,threaded=True,use_reloader=False)
from Main import app, manager if __name__ == '__main__': app.run() #manager.run()
from Main import app, manager if __name__ == '__main__': app.run(host="127.0.0.1", port='8000', debug=True, use_reloader=False) #manager.run()
from Main import app if __name__ == '__main__': app.run(host='0.0.0.0', port=80, threaded=True) application = app
# CREATED BY JOHN EARL COBAR from Main import app from os import environ if __name__ == '__main__': app.run(host= '0.0.0.0',port=environ.get('PORT'))