Update CLI run command to include environment file

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-26 17:20:49 -03:00
commit 9903c01c4c

View file

@ -57,14 +57,14 @@ run_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)
poetry run langflow run --path src/frontend/build --host $(host) --port $(port) --env-file .env
run_cli_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)
poetry run langflow run --path src/frontend/build --log-level debug --host $(host) --port $(port) --env-file .env
setup_devcontainer:
make init