Quick start
Run BPMS on your machine and check that it answers.
This guide runs BPMS and its own PostgreSQL database on your machine with Docker Compose, and checks that the platform answers. It takes a few minutes.
Before you start
You need:
- Git, with access to
https://git.afglobal.co/bpms/bpms. - Docker with Docker Compose.
1. Get the code
git clone https://git.afglobal.co/bpms/bpms.git bpms
cd bpms2. Configure
BPMS is configured only through environment variables. Copy the example file and set DB_PASSWORD in .env to a password of your choice for the local database:
cp .env.example .env.env stays on your machine: Git ignores it and it never enters the image.
3. Start
docker compose up -d --build --waitCompose builds the image, starts PostgreSQL 18, waits for it to be healthy, and starts BPMS on port 8080. Set BPMS_HTTP_PORT in .env to use another port.
4. Check that it answers
curl -fsS http://127.0.0.1:8080/livez
curl -fsS http://127.0.0.1:8080/readyzBoth answer {"status":"UP"}. Open http://127.0.0.1:8080/swagger-ui.html in a browser to explore the API, or download its OpenAPI document from http://127.0.0.1:8080/v3/api-docs.
5. Stop
docker compose downAdd -v to also delete the database volume.
Next steps
The local database starts empty, so it shows that the platform runs but holds no users to sign in with. To work with real data, run the bpms:local image that step 3 built with DB_HOST, DB_NAME, DB_USERNAME, and DB_PASSWORD pointing at a copy of a BPMS 3.x database, never at production. Then continue with Authentication to sign in and make your first call.