예제 #1
0
파일: run.py 프로젝트: Fabrron/bank
from bank import app

if __name__ == '__main__':
    app.run(debug=True)
예제 #2
0
파일: run.py 프로젝트: domdit/SosekiBank
from bank import app

if __name__ == '__main__':
    app.run(debug=True, port=5001)
예제 #3
0
# encoding: utf-8
from bank import app, db
from flask_login import LoginManager
if __name__ == '__main__':

    db.create_all()
    app.run()
예제 #4
0
"""
Werkzeug launcher for application
"""

import traceback

from bank import app

if __name__ == '__main__':

    # pylint: disable=W0703
    try:
        app.run(debug=app.debug, host='localhost', port=8097)
    except Exception as err:
        traceback.print_exc()
예제 #5
0
from bank import app

# FOR PRODUCTION: DISABLE DEBUGGING
if __name__ == '__main__':
    app.run("0.0.0.0", threaded=True, debug=True)

# Threaded automatically handles requests on different threads on the system
# This improves the performance when many users are trying to log in or make transactions in the system at once