🚨🚨Important🚨🚨
Follow this guide carefully, step by step, to ensure a smooth setup. No jumping ahead! 😉
-
License File
Copy the providedflowable.license
file to a folder named.flowable
in your home directory (e.g.,~/.flowable/
). -
Prerequisites
- Java SDK: Java 17 or newer is required for this setup.
- Maven Settings: Copy the provided
settings.xml
into your~/.m2/
directory. Example:C:\Users\YourName\.m2\settings.xml
or~/.m2/settings.xml
on macOS/Linux.
_If you don’t want to overwrite your current `settings.xml` or already mirror the Flowable artifacts, see the [Custom settings.xml](#optional-custom-settingsxml) section below._ -
Build the Project Sync/Reload your Maven project in your IDE (e.g., in IntelliJ, open the "Maven" panel and click the following icon):
Some IDEs such as IntelliJ IDEA may do this automatically.
-
IntelliJ IDEA Ultimate: Use the provided Spring Boot configurations.
-
IntelliJ IDEA Community: Use the Maven configurations (Community Edition doesn’t support Spring Boot configs directly).
-
Visual Studio Code:
Run the applications via the providedlaunch.json
or install the Spring Boot Extension Pack.
When running, check these endpoints:
- http://localhost:8090 – Flowable Work
- http://localhost:8091 – Flowable Design
- http://localhost:8092 – Flowable Control (optional)
- http://localhost:8093 – Flyable Booking Portal (optional)
Quick Tip: If Flowable Work and Design are running, you’re set. Just log in with admin/test and you're good to go.
Windows Users: If you see the "Command line is too long" error (common with IntelliJ IDEA), check the Common issues section.
User | Role | Login | Password |
---|---|---|---|
Flowable Administrator | Flowable-Admin | admin | test |
User 1 | Flowable-User | user_1 | training |
User 2 | Flowable-User | user_2 | training |
(You can skip this section if you’re in a hurry.)
Many organizations use a custom settings.xml
file for Maven and may already have the Flowable artifacts in their repository. In that case, you don't need to overwrite the settings or do anything.
If your organization does not (yet) mirror the Flowable artifacts and you prefer not to overwrite your own settings.xml
, copy your username (e.g. tra-0090-bot) and password into the settings-flowable.xml
located in the project root.
Warning: Storing passwords in plain text isn’t recommended. See Maven's guide on password encryption.
Build using:
mvn -s settings-flowable.xml clean package
For a more production-ready setup, use a dedicated Postgres and Elasticsearch setup instead of the default H2 database.
-
Activate Profiles:
Enable thepostgres
andelastic
profiles:spring.profiles.active=postgres,elastic
-
Docker Setup:
The simplest way to set up the necessary services is with Docker:cd ./docker/ docker compose up
-
Recreating Containers:
- To stop and remove containers:
cd ./docker docker compose down
- To remove Docker volumes (data persistence for the database and Elasticsearch), run:
WARNING: This deletes all stored data.
cd ./docker docker compose down -v
- To stop and remove containers:
If you see the error “Command line is too long” in IntelliJ IDEA on Windows, click the Shorten Command Line button at the bottom left or update the "Shorten commandline" option in the Spring Boot run configuration.
Running mvn install
may trigger the Flyable Booking Portal to install frontend dependencies. In most cases, this isn’t necessary since the project auto-builds on import. Check the optional details if you need to run it manually.