Example #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')
Example #2
0
#!/usr/bin/env python
from app_name import app
app.run()
Example #3
0
from app_name import app


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

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

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

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