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
This commit is contained in:
parent
349a1fe284
commit
467e546e8e
2 changed files with 1 additions and 7 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
6
Makefile
6
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 '----'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue