diff --git a/Design:-Runnable-Project.md b/Design:-Runnable-Project.md index 6b44db4..ddd11ec 100644 --- a/Design:-Runnable-Project.md +++ b/Design:-Runnable-Project.md @@ -30,8 +30,8 @@ We can't quite do this today. Here are the missing pieces: - [DCJ] added as new command line option to runnable-project dev branch 4. Must handle running in a read-only environment. If the package is installed globally (in order to insert a command link into /usr/bin) then the flow file and settings.js will be in root space - which ought not to be writable by the user. Currently even starting Node-RED with -u option pointing somewhere protected will fail. Options include - - just handling the error. - - on detecting this condition, marking the settings.readOnly as true thus stopping the library failing. + - just handling the error - i.e. log something (useful) - but fail to start. + - on detecting this condition, marking the settings.readOnly as true thus stopping the library failing - but run. - setting disableEditor to `true` also. The package would provide an npm start script that runs node-red with the appropriate command-line args.