refactor: simplify init target by removing cache cleanup and adding pre-commit hook (#8590)
* build: add pyyaml dependency * refactor: simplify init command by removing cache cleaning and langflow run call * refactor: simplify init target by removing cache cleanup and adding pre-commit hook * refactor: update langchain_core.prompts import paths to use specific modules --------- Co-authored-by: Edwin Jose <edwin.jose@datastax.com>
This commit is contained in:
parent
8563d87729
commit
dbaa8a1c6f
4 changed files with 7 additions and 4 deletions
5
Makefile
5
Makefile
|
|
@ -75,12 +75,11 @@ build_frontend: ## build the frontend static files
|
|||
@cp -r src/frontend/build/. src/backend/base/langflow/frontend
|
||||
@echo '==== Frontend build complete ===='
|
||||
|
||||
init: check_tools clean_python_cache clean_npm_cache ## initialize the project
|
||||
init: check_tools ## initialize the project
|
||||
@make install_backend
|
||||
@make install_frontend
|
||||
@make build_frontend
|
||||
@uvx pre-commit install
|
||||
@echo "$(GREEN)All requirements are installed.$(NC)"
|
||||
@uv run langflow run
|
||||
|
||||
######################
|
||||
# CLEAN PROJECT
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue