From 7dc34c9bc6b8371adf5c880b978e667065e99bc6 Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Fri, 15 Mar 2024 15:07:44 -0300 Subject: [PATCH] Update run-tests.sh to include environment file in backend startup --- src/frontend/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontend/run-tests.sh b/src/frontend/run-tests.sh index ac6117ad6..bb4535f5b 100755 --- a/src/frontend/run-tests.sh +++ b/src/frontend/run-tests.sh @@ -54,7 +54,7 @@ sleep 10 poetry install --extras deploy # Start the backend using 'make backend' in the background -LANGFLOW_DATABASE_URL=sqlite:///./temp LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser & +LANGFLOW_DATABASE_URL=sqlite:///./temp LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser --env-file .env & # Give some time for the backend to start (adjust sleep duration as needed) sleep 25