node-red-run/readme.md

23 lines
763 B
Markdown

# Node Red - Runner
This repo aids in keeping node-red up to date and running via a systemd Service
Clone this repo
git clone https://git.kebler.net/IOT/node-red-run.git /opt/node-red-run && \
cd /opt/node-red-run && \
./install
you can try running nodered `./run <dir>`
<dir> is optional user directory if unset will be `/opt/node-red`
if that works fine then if need be edit the node-red.service file environment varaiable for alternative user directory otherwise it will use the default `/opt/node-red`
run `./install-service` script
all should be find and the node-red should be running at :1880
`./start` and `./stop` script are systemctl aliases which can used after install
run `./update` to update the latest version of node-red and esm