From 60bc33dbec9ce3273ec23632e2613d20d2e0c285 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 26 Mar 2024 16:43:50 -0300 Subject: [PATCH] Update run_cli and run_cli_debug in Makefile --- Makefile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 4f7daee0d..26efd099f 100644 --- a/Makefile +++ b/Makefile @@ -53,14 +53,18 @@ else endif run_cli: - make install_frontend - make build_frontend - poetry run langflow run --path src/frontend/build + @echo 'Running the CLI' + @make install_frontend > /dev/null + @echo 'Building the frontend' + @make build_frontend > /dev/null + poetry run langflow run --path src/frontend/build --host $(host) --port $(port) run_cli_debug: - make install_frontend - make build_frontend - poetry run langflow run --path src/frontend/build --log-level debug + @echo 'Running the CLI in debug mode' + @make install_frontend > /dev/null + @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: make init