Install - trma1big/wfm GitHub Wiki

INSTALL

Install steps

Base configuration .env file

values changed during install

during the node install.js process the .env conf file is changed with the random key and iv values in order to update admin user password. this values are saved in 2 variable and are used in the application to encrypt new user password or decrypt the existing during the logon process. key_crypt = ************************************************************ iv_crypt = *******************************

JWT token

you have/could change with an editor some value on .env in order to manage and secure the app.

ACCESS_TOKEN_SECRET=HERE THE TOKEN SECRET (you have to change it with a sequence of chars) ACCESS_TOKEN_LIFE=30m (token lifetime) REFRESH_TOKEN_SECRET=HERE THE TOKEN REFRESH SECRET (you have to change it with a sequence of chars) REFRESH_TOKEN_LIFE=2h (refresh token lifetime)

Server startup

USE_SSL=0 (use or not SSL, 0 not enabled) CERT= (cert path to be used if you want to start https site) KEY= ( cert key path to be used if you want to start https site) PORT = 80 (change to the port value you wants use ) HOST = 0.0.0.0 (0.0.0.0 means all ip configured)

App path customization

CONF_FOLDER=./db (where to save database information - users and workflows json- ) WF_FOLDER=./wf ( where to upload BPMn files) PATHLOG=./log ( where to save app log and audit log if enabled )

Audit LOG

enable or disable Audit log in order to track changes on configurations and status changes. AUDIT=0 (0 disabled 1 Enabled)