Here's the basic problem
- I want to use node-red in a cs course
- The students will likely work on multiple machines and multiple plaforms (lab, their own, etc)
- The students will each have one git repo for the course
- I'd like them to keep the flows they develop as separate projects, but within the one repo.
Here are some alternatives:
create a separate data directory for each lab and execute
node-red --userData "labdatadirectory"
use alternate-node-installer to create a repo specific instance of node-red, with a separate data
directory for each project. The default script is hardwired to use .data, but I could modify the script for each experiment
use the node-red projects feature. This seems problematic because it creates a separate git repo for each project and there doesn't seem to be a way to use a single repo for all projects.
It seems (1) is easiest for me. (2) provides some guarantee that a consistent version of node-red is used throughout the course. Are there issues across platforms (os x/windows/linux ?). (3) seems a non-starter unless there is a good way to deal with the per project repo.
I'd welcome comments/suggestions/whatever