def serve(port): os.environ[LOCALSTACK_WEB_PROCESS] = '1' ensure_webapp_installed() load_plugins() canonicalize_api_names() backend_url = 'http://localhost:%s' % port config.USE_SSL = True services_infra.start_proxy(config.PORT_WEB_UI_SSL, backend_url) generic_proxy.serve_flask_app(app=app, port=port, quiet=True)
def serve(port: int, quiet: bool = True): from localstack.services import generic_proxy # moved here to fix circular import errors return generic_proxy.serve_flask_app(app=app, port=port)
def serve(port, quiet=True): # initialize the Lambda executor LAMBDA_EXECUTOR.startup() generic_proxy.serve_flask_app(app=app, port=port, quiet=quiet)
def serve(port, quiet=True): generic_proxy.serve_flask_app(app=app, port=port, quiet=quiet)