Hilscher Community Forum
Node-RED 'projects' possible on netPI? - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: Node-RED 'projects' possible on netPI? (/thread-744.html)



Node-RED 'projects' possible on netPI? - JG_KIT - July-15th-2021

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


RE: Node-RED 'projects' possible on netPI? - Armin@netPI - July-15th-2021

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


RE: Node-RED 'projects' possible on netPI? - JG_KIT - July-20th-2021

Hi,

thanks a lot. I will try this.

Best regards,
Johannes