Get Started
Cloud
Self-hosting requires more technical skill to setup instance, backing up database and maintaning updates. If you aren't experienced at managing servers and just want to use the webapp, we recommend using Flowise Cloud.
Quick Start
Install Flowise locally using NPM.
Install Flowise:
npm install -g flowiseYou can also install a specific version. Refer to available versions.
npm install -g [email protected]Start Flowise:
npx flowise startOpen: http://localhost:3000
Docker
There are two ways to deploy Flowise with Docker. First, git clone the project: https://github.com/FlowiseAI/Flowise
Docker Compose
Go to
docker folderat the root of the projectCopy the
.env.examplefile and paste it as another file named.envRun:
docker compose up -dOpen: http://localhost:3000
You can bring the containers down by running:
docker compose stopDocker Image
Build the image:
docker build --no-cache -t flowise .Run image:
docker run -d --name flowise -p 3000:3000 flowiseStop image:
docker stop flowiseFor Developers
Flowise has 4 different modules in a single mono repository:
Server: Node backend to serve API logics
UI: React frontend
Components: Integration components
Api Documentation: Swagger spec for Flowise APIs
Prerequisite
Install PNPM.
npm i -g pnpmSetup 1
Simple setup using PNPM:
Clone the repository
git clone https://github.com/FlowiseAI/Flowise.gitGo into repository folder
cd FlowiseInstall all dependencies of all modules:
pnpm installBuild the code:
pnpm buildStart the app at http://localhost:3000
pnpm startSetup 2
Step-by-step setup for project contributors:
Fork the official Flowise Github Repository
Clone your forked repository
Create a new branch, see guide. Naming conventions:
For feature branch:
feature/<Your New Feature>For bug fix branch:
bugfix/<Your New Bugfix>.
Switch to the branch you just created
Go into repository folder:
cd FlowiseInstall all dependencies of all modules:
pnpm installBuild the code:
pnpm buildStart the app at http://localhost:3000
pnpm startFor development build:
Create
.envfile and specify thePORT(refer to.env.example) inpackages/uiCreate
.envfile and specify thePORT(refer to.env.example) inpackages/server
pnpm devAny changes made in
packages/uiorpackages/serverwill be reflected at http://localhost:8080For changes made in
packages/components, you will need to build again to pickup the changesAfter making all the changes, run:
pnpm buildand
pnpm startto make sure everything works fine in production.
For Enterprise
Before starting the app, enterprise users are required to fill in the values for Enterprise Parameters in the .env file. Refer to .env.example for the required changes.
Reach out to [email protected] for the value of following env variables:
LICENSE_URL
FLOWISE_EE_LICENSE_KEYLearn More
In this video tutorial, Leon provides an introduction to Flowise and explains how to set it up on your local machine.
Community Guide
Last updated