Can I have multiple projects in the same git repository?

I have 10 Raspberry Pi's running 10 different flows. I would like to back them all up via git, using the projects feature. I would like to have one repository for all of the flows. Is there a way to have multiple flows in the same Node-Red project/git repository?

Thank you

A Node-RED 'project' contains the full set of flows (tabs), which are all residing in a single flows file.
If your 10 flows are all running concurrently in the same worksheet, git will backup them all.

Got it. I would like each Raspberry Pi to be running their own sets of flows and then all backup to the same git repository.

Hi @power_factor

It is possible to have multiple NR projects in the same git repository. I don't have a full guide for setting it up, but they key part is the fact you can, under Project Settings, customise what package.json/flow.json the project uses within a repository:

I went with the structure of NR projects. The only solution that made sense to me was git submodules. So one main node red repo. Then a submodule per node red project. Works fairly well, with git both from cmd and NR integrated git client.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.