• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Node-RED 'projects' possible on netPI?
#1
Hi,

I thought of using the 'projects' feature of Node-RED to save my flows on GitHub.
I found tutorials saying, that setting this variable:
   
will work an apparently it does try:
   
however, fails when trying to find 'git'.

So, I wondered, is this image of Node-RED that is supplied under 'HilscherAutomation/netPI-nodered' on GitHub able to use projects (has git included) and I am doing something wrong or do I need another option than that to back up the content of my Node-RED container (and possibly import them on other netPI devices)?

Thanks a lot in advance.

Best regards,
Johannes
  Reply
#2
Well the Hilscher Node-RED container is very very large meanwhile and it was growing version by version. Compressed it is 316Mbyte large on Docker Hub only, but uncompressed it is about 950Mbyte big right now.

This is why I was avoiding putting all "possible" needs into it the last years when I was creating the versions. One of these omitted commands/features is indeed installing the "git" command into the container by default. Cause this is a very very huge package.

But nevertheless you can post install all necessary commands you need in a running container if you want. In the portainer.io containers overview list you find several small icons you can click on for each containers listed. One is opening a terminal console in the context of the container.

If you then call
Code:
sudo apt update
sudo apt install git

your container is fine to go after a restart.

Thx
Armin
You never fail until you stop trying.“, Albert Einstein (1879 - 1955)

  Reply
#3
Hi,

thanks a lot. I will try this.

Best regards,
Johannes
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Node Red configuration LucioFiam 3 1,761 November-30th-2022, 05:14 PM
Last Post: Armin@netPI
  secure node-red with a username and password Christian_Rau 3 2,980 December-3rd-2021, 11:06 AM
Last Post: Armin@netPI
  cifx0 and Node-Red fabio1975 5 3,233 November-22nd-2021, 01:13 PM
Last Post: Armin@netPI
  Node red web UI issue DSongra 3 3,250 July-22nd-2021, 02:47 PM
Last Post: Armin@netPI
  Node-RED: OpcUa Client node tad 4 4,549 June-9th-2021, 08:51 AM
Last Post: tad
  Accessing a modbus device connected to RTE port from Node-RED tad 10 8,171 October-2nd-2020, 07:21 AM
Last Post: Armin@netPI
  5 x NL 50-Mpi and Node Red like colector data? Jotarod 4 4,005 September-14th-2020, 01:59 PM
Last Post: Armin@netPI
  Node-Red "http in"-Node not working DWxPro 8 7,769 June-19th-2020, 01:12 AM
Last Post: DWxPro
  using node.js on NIOT-E-TP151-EN-RE COswald 9 10,538 May-20th-2020, 12:54 PM
Last Post: Armin@netPI
  Error when using a node 'OpcUaServer' tad 6 5,256 May-12th-2020, 08:35 AM
Last Post: tad

Forum Jump:


Users browsing this thread: 1 Guest(s)