Add backend dependency installation to Makefile

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-26 17:35:25 -03:00
commit 1e442a005f

View file

@ -57,6 +57,8 @@ run_cli:
@make install_frontend > /dev/null
@echo 'Building the frontend'
@make build_frontend > /dev/null
@echo 'Install backend dependencies'
@make install_backend > /dev/null
ifdef env
poetry run langflow run --path src/frontend/build --host $(host) --port $(port) --env-file $(env)
else
@ -68,6 +70,8 @@ run_cli_debug:
@make install_frontend > /dev/null
@echo 'Building the frontend'
@make build_frontend > /dev/null
@echo 'Install backend dependencies'
@make install_backend > /dev/null
ifdef env
poetry run langflow run --path src/frontend/build --log-level debug --host $(host) --port $(port) --env-file $(env)
else