mirror of https://github.com/node-red/node-red.git
Updated Design: Runnable Project (markdown)
parent
7668e31693
commit
6a34121153
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue