Update run_cli and run_cli_debug in Makefile
This commit is contained in:
parent
765a633e99
commit
60bc33dbec
1 changed files with 10 additions and 6 deletions
16
Makefile
16
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue