Setup
Running from Source
Running from source allows developers to quickly deploy Flowset Tasklist in a development environment and flexibly adapt the application to their needs.
Requirements
Before installation, make sure the following components are installed:
-
Node.js version 20.19 or higher (LTS recommended)
-
npm version 8 or higher
-
Git for cloning the repository
Installation and Launch
-
Clone the project repository:
git clone https://github.com/flowset/flowset-tasklist-react-community cd flowset-tasklist-react-community -
Create an environment configuration file:
cp env.example env.local -
Edit
env.local, specifying the connection parameters for your BPM engine:VITE_APP_LOCALE=ru VITE_BPM_ENGINE_API_URL=http://localhost:8080/engine-rest VITE_BPM_ENGINE_TYPE=OPERATON-
VITE_APP_LOCALE— interface language (ruoren); -
VITE_BPM_ENGINE_API_URL— URL of the engine’s REST API; -
VITE_BPM_ENGINE_TYPE— engine type (CAMUNDA,OPERATON).
-
-
Install dependencies:
npm install -
Run the application in development mode:
npm run dev -
After a successful launch, the interface will be available at: http://localhost:3000
|
For a production build, you can use the following commands:
|
Docker
To quickly launch Flowset Tasklist without installing Node.js, you can use the ready-made Docker image.
Launch via Docker
-
Clone the project repository:
git clone https://github.com/flowset/flowset-tasklist-react-community cd flowset-tasklist-react-community/docker-compose -
Edit the
.envfile, specifying the connection parameters for the BPM engine:VITE_APP_LOCALE=ru VITE_BPM_ENGINE_API_URL=http://localhost:8080/engine-rest VITE_BPM_ENGINE_TYPE=OPERATON -
Start the container:
docker-compose up -d -
Check that the container is running:
docker ps -
After launch, the interface will be available at: http://localhost:3000
|
If you run Tasklist in a container while the BPM engine is running locally, you must allow CORS requests. For Tomcat, add the following filter to
For Run, add the following configuration to
|
Stopping the Container
To stop it, use the command:
docker-compose down
|
If you want to run the container directly without Docker Compose, use:
|