nqm-databot-host
install
npm install nqm-databot-host
configure
Edit (or copy) the config.json file.
Verify that commandHost, queryHost and databotHost all point to your TDX.
Enter your databotHostId and databotHostPassword as created in the toolbox.
run
single instance mode
To run a single instance:
node index.js --config ./config.json
master mode
You can also run the host in 'master' mode, specifying the number of worker instances to run using the poolSize
argument.
node index.js -- config ./config.json --master --poolSize 5