def start(): " Starts local development server " sys.path.append('./') from app_name import app app.run(debug=True, host='0.0.0.0')
#!/usr/bin/env python from app_name import app app.run()
from app_name import app if __name__ == "__main__": app.run(debug=True)
from app_name import app if __name__ == '__main__': app.run(use_reloader=True, threaded=True, host='127.0.0.1')
from app_name import app, db if __name__ == '__main__': app.run()
from app_name import app as application if __name__ == '__main__': application.run()