How to change setting.js for contextStorage in Node-RED?
In detail:
I am working on Node-RED on RevPi Connect 4 and must store the user inputs (context variables) in the context file. The purpose is to retain the value even if the RevPi restarts.
I follow the guide from Node-RED, and then it leads to changing the setting.js file in the Node-RED folder. However, I can not find this folder (~/.node-red) and file path.
I tried in the terminal of RevPi but no such file or directory
Code: Select all
pi@RevPi:~$ cd ~/.node-red
bash: cd: /home/pi/.node-red: No such file or directory