Skip to content
forked from FlowiseAI/Flowise

对Flowwise进行部分中文翻译 - 利用 LangchainJS 拖拽出你自己的 LLM

License

Notifications You must be signed in to change notification settings

MH-14/Flowise-ZH

 
 

Repository files navigation

Flowise - Build LLM Apps Easily

Release Notes Discord Twitter Follow GitHub star chart GitHub fork

Drag & drop UI to build your customized LLM flow

⚡ 快速开始

下载并安装 NodeJS >= 18.15.0

  1. 安装 Flowise

    npm install -g flowise
  2. 启动 Flowise

    npx flowise start

    想要使用 username & password ?

    npx flowise start --FLOWISE_USERNAME=user --FLOWISE_PASSWORD=1234
  3. 打开 http://localhost:3000

🐳 Docker

Docker Compose

  1. 跳转到位于项目根目录的 docker 文件夹
  2. 创建 .env 文件并指定 PORT (参考 .env.example)
  3. docker-compose up -d
  4. 打开 http://localhost:3000
  5. 你可以运行这条命令停止运行 docker-compose stop

Docker Image

  1. 本地构建镜像:

    docker build --no-cache -t flowise .
  2. 启动镜像:

    docker run -d --name flowise -p 3000:3000 flowise
  3. 停止服务:

    docker stop flowise

👨‍💻 开发者相关

Flowise 有 3 个 不同的模块在这个 monorepo 中.

  • server: Node 实现的后端逻辑
  • ui: React 实现的前端
  • components: Langchain 组件

前置条件

启动

  1. 克隆这个仓库

    git clone https://github.com/MH-14/Flowise-ZH.git
  2. 进入仓库文件夹

    cd Flowise
  3. 安装所有模块需要的依赖:

    yarn install
  4. 构建全部的代码:

    yarn build
  5. 启动应用:

    yarn start

    你能在这里访问到应用 http://localhost:3000

  6. 对于开发者的方式:

    • Create .env file and specify the PORT (refer to .env.example) in packages/ui

    • Create .env file and specify the PORT (refer to .env.example) in packages/server

    • Run

      yarn dev

    任何代码的改变都将让应用重新加载 http://localhost:8080

🔒 认证

要开启应用层的认证, 在 packages/server 下的 .env 添加 FLOWISE_USERNAMEFLOWISE_PASSWORD:

FLOWISE_USERNAME=user
FLOWISE_PASSWORD=1234

🌱 Env Variables

Flowise support different environment variables to configure your instance. You can specify the following variables in the .env file inside packages/server folder. Read more

📖 官方文档

Flowise Docs

🌐 自机部署

Deploy on Railway

Deploy to Render

💻 云部署

马上到

🙋 支持

随意提问, 有新特性需求一起讨论

🙌 贡献者

Thanks go to these awesome contributors

See contributing guide. Reach out to us at Discord if you have any questions or issues. Star History Chart

📄 证书

Source code in this repository is made available under the MIT License.

About

对Flowwise进行部分中文翻译 - 利用 LangchainJS 拖拽出你自己的 LLM

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 53.3%
  • JavaScript 44.5%
  • CSS 1.1%
  • SCSS 0.6%
  • HTML 0.3%
  • Dockerfile 0.2%