Run in production
Run BPM as a service, protect it and back up its data.
On this page
Run it in release mode
Start BPM in release mode on the server:
node index.js 8000 --releaseKeep it running with a process manager or as a system service, and put a web server with HTTPS in front of it.
BPM takes its own address from the first visit to /admin/ after each start, and uses it for the links of the processes. Open it with the public address, for example https://bpm.example.com/admin/, after you restart it.
Protect it
- Change the default account right after the first sign-in.
- People must sign in to start processes from the Inbox and to work on tasks. Only public Start forms are open to everybody; make a Start form public only when you want that.
- Use HTTPS, so that the password and the session cookie are not sent in clear text.
- Restrict access to the server and to the PostgreSQL database.
Back up the data
- The PostgreSQL database holds the processes, their designs, the forms, the templates and all tasks.
- The folder
databasesof the app holds the administrator account and your UI components.
Back up both. See Data locations.