Change installation

This commit is contained in:
Rodrigo Nader 2023-06-22 02:15:07 -03:00
commit c6b823da49
11 changed files with 87 additions and 84 deletions

View file

@ -1,7 +1,7 @@
export default [
require('/home/carlos/repo/logspace/langflow/docs/node_modules/infima/dist/css/default/default.css'),
require('/home/carlos/repo/logspace/langflow/docs/node_modules/@docusaurus/theme-classic/lib/prism-include-languages'),
require('/home/carlos/repo/logspace/langflow/docs/node_modules/@docusaurus/theme-classic/lib/nprogress'),
require('/home/carlos/repo/logspace/langflow/docs/src/css/custom.css'),
require('/home/carlos/repo/logspace/langflow/docs/node_modules/docusaurus-plugin-image-zoom/lib/zoom'),
require('/Users/rodrigonader/Repositories/logspace/langflow/docs/node_modules/infima/dist/css/default/default.css'),
require('/Users/rodrigonader/Repositories/logspace/langflow/docs/node_modules/@docusaurus/theme-classic/lib/prism-include-languages'),
require('/Users/rodrigonader/Repositories/logspace/langflow/docs/node_modules/@docusaurus/theme-classic/lib/nprogress'),
require('/Users/rodrigonader/Repositories/logspace/langflow/docs/src/css/custom.css'),
require('/Users/rodrigonader/Repositories/logspace/langflow/docs/node_modules/docusaurus-plugin-image-zoom/lib/zoom'),
];

View file

@ -2,7 +2,7 @@
"unversionedId": "how-contribute",
"id": "how-contribute",
"title": "How to contribute?",
"description": "Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"description": "👋 Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"source": "@site/docs/how-contribute.md",
"sourceDirName": ".",
"slug": "/how-contribute",

View file

@ -235,7 +235,7 @@
"how-contribute": {
"id": "how-contribute",
"title": "How to contribute?",
"description": "Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"description": "👋 Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"sidebar": "docs"
},
"how-upload-examples": {

View file

@ -13,9 +13,9 @@
"tagsPath": "/tags",
"isLast": true,
"routePriority": -1,
"sidebarFilePath": "/home/carlos/repo/logspace/langflow/docs/sidebars.js",
"contentPath": "/home/carlos/repo/logspace/langflow/docs/docs",
"contentPathLocalized": "/home/carlos/repo/logspace/langflow/docs/i18n/en/docusaurus-plugin-content-docs/current",
"sidebarFilePath": "/Users/rodrigonader/Repositories/logspace/langflow/docs/sidebars.js",
"contentPath": "/Users/rodrigonader/Repositories/logspace/langflow/docs/docs",
"contentPathLocalized": "/Users/rodrigonader/Repositories/logspace/langflow/docs/i18n/en/docusaurus-plugin-content-docs/current",
"docs": [
{
"unversionedId": "buffer-memory",
@ -247,7 +247,7 @@
"unversionedId": "how-contribute",
"id": "how-contribute",
"title": "How to contribute?",
"description": "Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"description": "👋 Hello there! We welcome contributions from developers of all levels to our open-source project on GitHub. If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.",
"source": "@site/docs/how-contribute.md",
"sourceDirName": ".",
"slug": "/how-contribute",

View file

@ -32,11 +32,11 @@ export default {
{
"docs": {
"routeBasePath": "/",
"sidebarPath": "/home/carlos/repo/logspace/langflow/docs/sidebars.js",
"sidebarPath": "/Users/rodrigonader/Repositories/logspace/langflow/docs/sidebars.js",
"path": "docs"
},
"theme": {
"customCss": "/home/carlos/repo/logspace/langflow/docs/src/css/custom.css"
"customCss": "/Users/rodrigonader/Repositories/logspace/langflow/docs/src/css/custom.css"
}
}
]

View file

@ -30,7 +30,7 @@ export default {
'content---multiple-vectorstores-3-c-5-02d': [() => import(/* webpackChunkName: 'content---multiple-vectorstores-3-c-5-02d' */ '@site/docs/multiple-vectorstores.mdx'), '@site/docs/multiple-vectorstores.mdx', require.resolveWeak('@site/docs/multiple-vectorstores.mdx')],
'content---python-functionc-5-e-14f': [() => import(/* webpackChunkName: 'content---python-functionc-5-e-14f' */ '@site/docs/python-function.mdx'), '@site/docs/python-function.mdx', require.resolveWeak('@site/docs/python-function.mdx')],
'content---serp-api-toolaea-bee': [() => import(/* webpackChunkName: 'content---serp-api-toolaea-bee' */ '@site/docs/serp-api-tool.mdx'), '@site/docs/serp-api-tool.mdx', require.resolveWeak('@site/docs/serp-api-tool.mdx')],
'plugin---8-d-8-3f8': [() => import(/* webpackChunkName: 'plugin---8-d-8-3f8' */ '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json'), '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json', require.resolveWeak('/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json')],
'plugin---docusaurus-debug-667-210': [() => import(/* webpackChunkName: 'plugin---docusaurus-debug-667-210' */ '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json'), '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json', require.resolveWeak('/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json')],
'plugin---markdown-page-3-a-8-829': [() => import(/* webpackChunkName: 'plugin---markdown-page-3-a-8-829' */ '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json'), '/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json', require.resolveWeak('/home/carlos/repo/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json')],
'plugin---46-c-fdc': [() => import(/* webpackChunkName: 'plugin---46-c-fdc' */ '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json'), '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-docs/default/plugin-route-context-module-100.json')],
'plugin---docusaurus-debugf-67-8e6': [() => import(/* webpackChunkName: 'plugin---docusaurus-debugf-67-8e6' */ '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json'), '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-debug/default/plugin-route-context-module-100.json')],
'plugin---markdown-pagea-28-82c': [() => import(/* webpackChunkName: 'plugin---markdown-pagea-28-82c' */ '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json'), '/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json', require.resolveWeak('/Users/rodrigonader/Repositories/logspace/langflow/docs/.docusaurus/docusaurus-plugin-content-pages/default/plugin-route-context-module-100.json')],
'versionMetadata---935-fcf': [() => import(/* webpackChunkName: 'versionMetadata---935-fcf' */ '~docs/default/version-current-metadata-prop-751.json'), '~docs/default/version-current-metadata-prop-751.json', require.resolveWeak('~docs/default/version-current-metadata-prop-751.json')],};

View file

@ -4,47 +4,47 @@ import ComponentCreator from '@docusaurus/ComponentCreator';
export default [
{
path: '/__docusaurus/debug',
component: ComponentCreator('/__docusaurus/debug', '437'),
component: ComponentCreator('/__docusaurus/debug', 'd49'),
exact: true
},
{
path: '/__docusaurus/debug/config',
component: ComponentCreator('/__docusaurus/debug/config', 'f3c'),
component: ComponentCreator('/__docusaurus/debug/config', 'c5a'),
exact: true
},
{
path: '/__docusaurus/debug/content',
component: ComponentCreator('/__docusaurus/debug/content', '5ed'),
component: ComponentCreator('/__docusaurus/debug/content', 'c19'),
exact: true
},
{
path: '/__docusaurus/debug/globalData',
component: ComponentCreator('/__docusaurus/debug/globalData', '6e2'),
component: ComponentCreator('/__docusaurus/debug/globalData', '338'),
exact: true
},
{
path: '/__docusaurus/debug/metadata',
component: ComponentCreator('/__docusaurus/debug/metadata', '00b'),
component: ComponentCreator('/__docusaurus/debug/metadata', '39f'),
exact: true
},
{
path: '/__docusaurus/debug/registry',
component: ComponentCreator('/__docusaurus/debug/registry', '46d'),
component: ComponentCreator('/__docusaurus/debug/registry', 'e70'),
exact: true
},
{
path: '/__docusaurus/debug/routes',
component: ComponentCreator('/__docusaurus/debug/routes', 'ce2'),
component: ComponentCreator('/__docusaurus/debug/routes', 'b1f'),
exact: true
},
{
path: '/markdown-page',
component: ComponentCreator('/markdown-page', 'd68'),
component: ComponentCreator('/markdown-page', 'b57'),
exact: true
},
{
path: '/',
component: ComponentCreator('/', '6c4'),
component: ComponentCreator('/', '5b5'),
routes: [
{
path: '/',

View file

@ -1,58 +1,58 @@
{
"/__docusaurus/debug-437": {
"/__docusaurus/debug-d49": {
"__comp": "__comp---theme-debug-config-23-a-2ff",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/__docusaurus/debug/config-f3c": {
"/__docusaurus/debug/config-c5a": {
"__comp": "__comp---theme-debug-config-23-a-2ff",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/__docusaurus/debug/content-5ed": {
"/__docusaurus/debug/content-c19": {
"__comp": "__comp---theme-debug-contentba-8-ce7",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
},
"allContent": "allContent---docusaurus-debug-content-246-9aa"
},
"/__docusaurus/debug/globalData-6e2": {
"/__docusaurus/debug/globalData-338": {
"__comp": "__comp---theme-debug-global-dataede-0fa",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/__docusaurus/debug/metadata-00b": {
"/__docusaurus/debug/metadata-39f": {
"__comp": "__comp---theme-debug-site-metadata-68-e-3d4",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/__docusaurus/debug/registry-46d": {
"/__docusaurus/debug/registry-e70": {
"__comp": "__comp---theme-debug-registry-679-501",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/__docusaurus/debug/routes-ce2": {
"/__docusaurus/debug/routes-b1f": {
"__comp": "__comp---theme-debug-routes-946-699",
"__context": {
"plugin": "plugin---docusaurus-debug-667-210"
"plugin": "plugin---docusaurus-debugf-67-8e6"
}
},
"/markdown-page-d68": {
"/markdown-page-b57": {
"__comp": "__comp---theme-mdx-page-1-f-3-b90",
"__context": {
"plugin": "plugin---markdown-page-3-a-8-829"
"plugin": "plugin---markdown-pagea-28-82c"
},
"content": "content---markdown-page-393-028"
},
"/-6c4": {
"/-5b5": {
"__comp": "__comp---theme-doc-page-1-be-9be",
"__context": {
"plugin": "plugin---8-d-8-3f8"
"plugin": "plugin---46-c-fdc"
},
"versionMetadata": "versionMetadata---935-fcf"
},

View file

@ -1,10 +1,46 @@
# How to contribute?
Hello there! We welcome contributions from developers of all levels to our open-source project on [GitHub](https://github.com/logspace-ai/langflow). If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.
👋 Hello there! We welcome contributions from developers of all levels to our open-source project on [GitHub](https://github.com/logspace-ai/langflow). If you'd like to contribute, please check our contributing guidelines and help make LangFlow more accessible.
As an open-source project in a rapidly developing field, we are extremely open
to contributions, whether it be in the form of a new feature, improved infra, or better documentation.
to contributions, whether in the form of a new feature, improved infra, or better documentation.
To contribute to this project, please follow a ["fork and pull request"](https://docs.github.com/en/get-started/quickstart/contributing-to-projects) workflow.
Please do not try to push directly to this repo unless you are a maintainer.
Please do not try to push directly to this repo unless you are a maintainer.
---
## Run Locally
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.
Before you start, make sure you have the following installed:
- Poetry
- Node.js
Then install the dependencies and start the development server for the backend:
```bash
poetry install
make backend
```
And the frontend:
```bash
make frontend
```
---
## Docker compose
The following snippet will run the backend and frontend in separate containers. The frontend will be available at `localhost:3000` and the backend at `localhost:7860`.
```bash
docker compose up --build
# or
make dev build=1
```

View file

@ -12,42 +12,4 @@ Next, run:
```bash
langflow
```
---
## Run Locally
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.
Before you start, make sure you have the following installed:
- Poetry
- Node.js
Then install the dependencies and start the development server for the backend:
```bash
poetry install
make run_backend
```
And the frontend:
```bash
cd src/frontend
npm install
npm start
```
---
## Docker compose
The following snippet will run the backend and frontend in separate containers. The frontend will be available at `localhost:3000` and the backend at `localhost:7860`.
```bash
docker compose up --build
# or
make dev build=1
```

View file

@ -4804,6 +4804,11 @@ fs.realpath@^1.0.0:
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==
fsevents@~2.3.2:
version "2.3.2"
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.2.tgz"
integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==
function-bind@^1.1.1:
version "1.1.1"
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz"