docs(readme): add instructions for running from a cloned repo (#3072)
This commit is contained in:
parent
a861b86354
commit
314e787459
1 changed files with 35 additions and 7 deletions
42
README.md
42
README.md
|
|
@ -46,6 +46,7 @@
|
|||
|
||||
- [📝 Content](#-content)
|
||||
- [📦 Get Started](#-get-started)
|
||||
- [Running Langflow from a Cloned Repository](#-running-langflow-from-a-cloned-repository)
|
||||
- [🎨 Create Flows](#-create-flows)
|
||||
- [Deploy](#deploy)
|
||||
- [DataStax Langflow](#datastax-langflow)
|
||||
|
|
@ -69,13 +70,6 @@ You can install Langflow with pip:
|
|||
# Make sure you have >=Python 3.10 installed on your system.
|
||||
python -m pip install langflow -U
|
||||
```
|
||||
Or
|
||||
|
||||
If you would like to install from your cloned repo, you can build and install Langflow's frontend and backend with:
|
||||
|
||||
```shell
|
||||
make install_frontend && make build_frontend && make install_backend
|
||||
```
|
||||
|
||||
Then, run Langflow with:
|
||||
|
||||
|
|
@ -83,6 +77,40 @@ Then, run Langflow with:
|
|||
python -m langflow run
|
||||
```
|
||||
|
||||
# Running Langflow from a Cloned Repository
|
||||
|
||||
If you prefer to run Langflow from a cloned repository rather than installing it via pip, follow these steps:
|
||||
|
||||
1. **Clone the Repository**
|
||||
|
||||
First, clone the Langflow repository from GitHub:
|
||||
|
||||
```shell
|
||||
git clone https://github.com/langflow-ai/langflow.git
|
||||
```
|
||||
|
||||
Navigate into the cloned directory:
|
||||
|
||||
```shell
|
||||
cd langflow
|
||||
```
|
||||
|
||||
2. **Build and Install Dependencies**
|
||||
|
||||
To build and install Langflow’s frontend and backend, use the following commands:
|
||||
|
||||
```shell
|
||||
make install_frontend && make build_frontend && make install_backend
|
||||
```
|
||||
|
||||
3. **Run Langflow**
|
||||
|
||||
Once the installation is complete, you can run Langflow with:
|
||||
|
||||
```shell
|
||||
poetry run python -m langflow run
|
||||
```
|
||||
|
||||
# 🎨 Create Flows
|
||||
|
||||
Creating flows with Langflow is easy. Simply drag components from the sidebar onto the workspace and connect them to start building your application.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue