Frontail is basically a front-end for the Linux command „tail -f“. So it shows a logfile and updates it in real-time once new log-entries are written.
The following steps are neccessarry to get frontail to work on an „early-gen“ Raspberry Pi with ARM architecture. The frontail app is available via the NPM package-manager
- Node.js is mandatory for the NPM package-manager and frontail, however there is no real version vor ARM. Different versions can be found under the following link:
Install a version directly on the Raspberry Pi via
sudo wget -O - https://raw.githubusercontent.com/sdesalas/node-pi-zero/master/install-node-v9.11.2.sh | bash
- After node.js is successfully installed, the NPM package-manager is needed.
sudo apt-get update
sudo apt-get install npm
- Now the installation of frontail can be done via the NPM package-manager
npm install frontail -g
- After the installation, the application can be started with several different options, check the GitHub page for reference.
sudo /opt/nodejs/bin/frontail /path/to/logfile.log
Frontail starts a local webserver on port 9001. So after the app is launched, the front-end can be accessed via