From e96cba04c249f3f8e5ca78b9840e2641aa9bb1cc Mon Sep 17 00:00:00 2001 From: anovazzi1 Date: Wed, 28 Feb 2024 16:31:56 -0300 Subject: [PATCH] Add backend installation step to run-tests.sh script --- src/frontend/run-tests.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/frontend/run-tests.sh b/src/frontend/run-tests.sh index 39d4fe833..78e0ee55c 100755 --- a/src/frontend/run-tests.sh +++ b/src/frontend/run-tests.sh @@ -42,8 +42,11 @@ make frontend & # Give some time for the frontend to start (adjust sleep duration as needed) sleep 10 +#install backend +poetry install --extras deploy + # Start the backend using 'make backend' in the background -make backend LANGFLOW_DATABASE_URL=sqlite:// & +LANGFLOW_DATABASE_URL=sqlite:// LANGFLOW_AUTO_LOGIN=True poetry run langflow run --backend-only --port 7860 --host 0.0.0.0 --no-open-browser & # Give some time for the backend to start (adjust sleep duration as needed) sleep 25