Update run_cli and run_cli_debug in Makefile

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-26 16:43:50 -03:00
commit 60bc33dbec

View file

@ -53,14 +53,18 @@ else
endif endif
run_cli: run_cli:
make install_frontend @echo 'Running the CLI'
make build_frontend @make install_frontend > /dev/null
poetry run langflow run --path src/frontend/build @echo 'Building the frontend'
@make build_frontend > /dev/null
poetry run langflow run --path src/frontend/build --host $(host) --port $(port)
run_cli_debug: run_cli_debug:
make install_frontend @echo 'Running the CLI in debug mode'
make build_frontend @make install_frontend > /dev/null
poetry run langflow run --path src/frontend/build --log-level debug @echo 'Building the frontend'
@make build_frontend > /dev/null
poetry run langflow run --path src/frontend/build --log-level debug --host $(host) --port $(port)
setup_devcontainer: setup_devcontainer:
make init make init