fablab-ka / ansible-flka

ansible provisioning of the machines at Fablab Karlsruhe
4 stars 0 forks source link

add node-red #6

Open mostley opened 6 years ago

mostley commented 6 years ago

curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - sudo apt-get install -y nodejs sudo npm install -g --unsafe-perm node-red sudo npm install -g pm2 pm2 start /usr/bin/node-red – –verbose sudo env PATH=$PATH:/usr/bin /usr/lib/node_modules/pm2/bin/pm2 startup systemd -u fabi –hp /home/fabi setup admin auth for node-red (standard pw)