From 467e546e8ef722676ac0678e69c13d4121749957 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 14 Nov 2024 15:24:07 -0300 Subject: [PATCH] docs: Update local run instructions in CONTRIBUTING.md (#4615) * docs: Update local run instructions in CONTRIBUTING.md * chore: Remove pipx check and environment compatibility check from Makefile --- CONTRIBUTING.md | 2 +- Makefile | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d624c2a23..960f6522a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,7 @@ This will set up the development environment by installing backend and frontend It is advised to run `make lint`, `make format`, and `make unit_tests` before pushing to the repository. -### Run locally (Poetry and Node.js) +### Run locally (uv and Node.js) Langflow can run locally by cloning the repository and installing the dependencies. We recommend using a virtual environment to isolate the dependencies from your system. diff --git a/Makefile b/Makefile index cd5aaf9dd..1400d83a6 100644 --- a/Makefile +++ b/Makefile @@ -39,14 +39,8 @@ patch: ## bump the version in langflow and langflow-base check_tools: @command -v uv >/dev/null 2>&1 || { echo >&2 "$(RED)uv is not installed. Aborting.$(NC)"; exit 1; } @command -v npm >/dev/null 2>&1 || { echo >&2 "$(RED)NPM is not installed. Aborting.$(NC)"; exit 1; } - @command -v pipx >/dev/null 2>&1 || { echo >&2 "$(RED)pipx is not installed. Aborting.$(NC)"; exit 1; } - @$(MAKE) check_env @echo "$(GREEN)All required tools are installed.$(NC)" -# check if Python version is compatible -check_env: ## check if Python version is compatible - @chmod +x scripts/setup/check_env.sh - @scripts/setup/check_env.sh "$(PYTHON_REQUIRED)" help: ## show this help message @echo '----'