Hello I'm currently deploying node-red using docker, so when I start node red, all dependencies, and projects are already in place. The thing is that I would like for node-red to start with a project selected. Right now, I deploy everything, but have to enter node-red GUI and go to configurations > Projects > Open and select the project so my flow.json file is used, is there a way to pre-configure this?
@lucaslizama when you deploy like this, do you expect users to interact with the Node-RED editor and the projects feature? Or is this meant to be running as a headless system without anyone accessing the editor?
If it is the latter, then you can run in 'normal' mode, pointed at the projects directory to get the flow files from it.
Otherwise, if you really want to deploy it with projects enabled, then you can specify the name of the project you want it to run on the command-line, just as you would the flow file name.
I would like to deploy it with projects enabled, how can I specify the project through the command line? I don't see any command for that.
Thank you, I really didn't see the [flows.json|projectName] part in the documentation, this actually solves my problem.