Install
Install BPM on your computer or server with Node.js and PostgreSQL.
On this page
Note: Total.js BPM is available only with a Total.js Enterprise subscription. See the BPM page on totaljs.com.
BPM is a Node.js app that keeps its data in a PostgreSQL database.
What you need
- The BPM source code. You receive it from Total.js with a Total.js Enterprise license.
- Node.js on the computer or server.
- A PostgreSQL server and an empty database for BPM.
- Internet access from the browser. The screens load their scripts from the Total.js CDN, and the process designer and the form editor are loaded from
flow.totaljs.comanduibuilder.totaljs.com. See Settings.
Install
- Unpack the source code into a folder, for example
bpm. - Open the file
configin that folder and set the connection string of your database:
database : postgresql://user:password@hostname:5432/bpm?pooling=1- Install the dependencies:
cd bpm
npm install- Start the app:
npm startOn the first start BPM creates its tables in the database. You do not need to run any SQL script yourself. When you install a newer version of BPM over an existing database, BPM updates the database on its first start.
- Open
http://127.0.0.1:8000/admin/in your browser.
Another port
npm start runs BPM on port 8000. To use another port, start it with the port number:
node index.js 8080