CLI
Installation
If you have Node.js and npm installed, you can install TallyArbiter as a CLI and run it from the command line or terminal using
npm install --global tallyarbiter
or in short: npm i -g tallyarbiter
Depending on your OS, you may need to run the command as root using the prefix "sudo".
sudo npm install --global tallyarbiter
Then, start it by typing tallyarbiter.
Upgrading
To install the latest version, just run the same command from above (npm i -g tallyarbiter) again.
Be sure to back up or save your config file!
Running as a service
- Open a terminal window and change directory to the folder where you placed the source code.
- Install the Node.js library,
pm2, by typingnpm install -g pm2. This will install it globally on your system. - After
pm2is installed, typepm2 start tallyarbiter --name TallyArbiterto daemonize it as a service. - If you would like it to start automatically upon bootup, type
pm2 saveand thenpm2 startupand follow the instructions on-screen. - To view the console output while running the software with
pm2, typepm2 logs TallyArbiter.