From 3e8bbda7bc31cab7920eb79f38abc90026d5b9fe Mon Sep 17 00:00:00 2001 From: elijahbenizzy Date: Thu, 25 Apr 2024 15:49:23 -0700 Subject: [PATCH 1/2] Fixes it to work on 0.0.0.0 --- ui/backend/server/server/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/backend/server/server/settings.py b/ui/backend/server/server/settings.py index 86e4de5d5..b83ff1dad 100644 --- a/ui/backend/server/server/settings.py +++ b/ui/backend/server/server/settings.py @@ -33,7 +33,7 @@ def get_from_env( PROPEL_AUTH_API_KEY = get_from_env("PROPEL_AUTH_API_KEY", allow_missing=True) PROPEL_AUTH_URL = get_from_env("PROPEL_AUTH_URL", allow_missing=True) -ALLOWED_HOSTS = ["localhost", "backend"] +ALLOWED_HOSTS = ["localhost", "backend", "0.0.0.0", "127.0.0.1"] HAMILTON_BLOB_STORE = get_from_env("HAMILTON_BLOB_STORE", ["local", "s3"]) From f7b920872325cc8d047fa681ac8f67c27a32d961 Mon Sep 17 00:00:00 2001 From: elijahbenizzy Date: Thu, 25 Apr 2024 15:50:00 -0700 Subject: [PATCH 2/2] Fixes sdk instructions --- ui/sdk/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/sdk/README.md b/ui/sdk/README.md index 35805e4d3..d2b986f2a 100644 --- a/ui/sdk/README.md +++ b/ui/sdk/README.md @@ -19,7 +19,7 @@ can do this with: ```bash # install the package & cli into your favorite python environment. -pip install hamilton-sdk +pip install "sf-hamilton[sdk]" # And validate -- this should not error. python -c "from hamilton_sdk import adapters"