Example #1
0
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()
Example #2
0
File: wsgi.py Project: waco001/SMFG
from Main import app
if __name__ == "__main__":
    app.run()
Example #3
0
from Main import app

if __name__ == '__main__':
    app.run(debug=True)
Example #4
0
 def run(self):
     app.run(debug=True,host='127.0.0.1',port=self.port,threaded=True,use_reloader=False)
Example #5
0
from Main import app, manager
if __name__ == '__main__':
    app.run()
    #manager.run()
Example #6
0
from Main import app, manager
if __name__ == '__main__':
    app.run(host="127.0.0.1", port='8000', debug=True, use_reloader=False)
    #manager.run()
Example #7
0
from Main import app

if __name__ == '__main__':
    app.run(host='0.0.0.0', port=80, threaded=True)

application = app
Example #8
0
# 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'))