Installing FlowAssembly¶
FlowAssembly is installed for one organisation at a time, in its own environment. This page helps you choose how to install it, and says what it needs. The step-by-step instructions are on the pages it links to.
Choose how to install it¶
You want |
Install with |
Guide |
|---|---|---|
Production, or an environment like it |
Kubernetes, with your own PostgreSQL |
|
A stand-in production on one Windows or Linux machine, with a project pipeline deploying to it |
A single-node cluster set up by one script |
|
To try it, or to work on FlowAssembly itself |
|
Production is supported on Kubernetes only. A workstation is a stand-in for learning how releases reach production, not a place for real case data.
What it needs¶
Part |
Supported |
Notes |
|---|---|---|
Kubernetes |
A current, supported Kubernetes release |
Tested on kind, which the workstation also uses. Each script runs in its own pod, so the cluster needs room for short-lived pods in the scripts namespace. |
PostgreSQL |
16 |
One database for the whole instance, managed or highly available, outside the cluster. FlowAssembly applies its own schema changes. |
Images |
|
Signed. Check them with the public key before you install (see Using the published images). |
Virus scanner |
ClamAV |
Checks each file people add before it is kept. Development may run without it. |
Directory |
LDAP or Active Directory, or FlowAssembly’s own users |
Over LDAPS. Active Directory is a preset. |
Mail server |
Any SMTP relay |
For notice emails and emails processes send. |
Secrets |
A secrets file, Vault or OpenBao |
Cloud secret stores reach FlowAssembly through the External Secrets Operator. |
Monitoring (optional) |
Prometheus Operator and Grafana; an OpenTelemetry collector |
Alerts, a dashboard and traces. |
Browsers |
Current Chrome and Edge |
Tested with Chrome. Current Firefox and Safari are expected to work, and are not yet tested. |
How an instance is set up¶
Every service reads the same few files, and nothing else:
flowassembly.yaml, the instance settings: the database, files, email, tracing, where scripts run, and which other files to read;identity.yaml, the sign-in sources, andaccess.yaml, the access policy, as a starting point. After the first start, administrators change people, roles and sign-in sources in the browser (Admin);connectors.yaml, where each project’s connections go in this environment;secrets.yaml, or a secret store, for every password, key and token the settings name.
Check them before starting the services:
fa config check --config flowassembly.yaml
It lists every problem it finds, including a secret that is named but missing, and never prints a secret’s value.
Trying it on one machine¶
With Python 3.12, PostgreSQL and Node.js installed (on a Mac:
brew install python@3.12 postgresql@17 node), from a copy of FlowAssembly:
python3 -m venv .venv
.venv/bin/pip install -e '.[dev,docs]'
.venv/bin/fa dev up
Open http://127.0.0.1:8000 and sign in as one of the people it lists, with
the password flowassembly-dev. It is for trying FlowAssembly out: the
password is published, and the mail server and other systems are stand-ins.
Next¶
Administering FlowAssembly: people, sign-in, settings, releases and records, once it is running.
Upgrading FlowAssembly: moving to a new version.