Add backend installation step to run-tests.sh script

This commit is contained in:
anovazzi1 2024-02-28 16:31:56 -03:00
commit e96cba04c2

View file

@ -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