import osimport sysPROJECT_ROOT_DIR = os.path.abspath(os.path.dirname(os.path.dirname(__file__)))sys.path.append(PROJECT_ROOT_DIR)# Only now can we import localsfrom flaskr import create_appapp = create_app('flaskr.settings.ProductionConfig')if __name__ == "__main__": app.run(host='0.0.0.0')