# -*- coding: UTF-8 -*- from app.__init__ import app from flask import render_template @app.route('/') def index(): return render_template('layout.html') if __name__ == '__main__': app.run(host='0.0.0.0', port=80, debug=False)
from app.__init__ import app from app.views import * from app.models import * if __name__ == '__main__': app.run(debug=True, host='0.0.0.0')
from app.__init__ import app if __name__ == "__main__": app.run()
from app.__init__ import app if __name__ == '__main__': app.run(host="127.0.0.1", port=8000)