示例#1
0
def start():
    " Starts local development server "
    sys.path.append('./')
    from app_name import app
    app.run(debug=True, host='0.0.0.0')
示例#2
0
#!/usr/bin/env python
from app_name import app
app.run()
示例#3
0
from app_name import app


if __name__ == "__main__":
    app.run(debug=True)
示例#4
0
from app_name import app

if __name__ == '__main__':
    app.run(use_reloader=True, threaded=True, host='127.0.0.1')
示例#5
0
from app_name import app, db

if __name__ == '__main__':
    app.run()
示例#6
0
from app_name import app as application

if __name__ == '__main__':
    application.run()