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
|
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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue