commit ff9a60241e603c504cb490ffdeb3d6ce688ac48f Author: Wolfgang Hottgenroth Date: Mon May 3 12:03:56 2021 +0000 Create project diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c9c01a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.backup \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..0ec8919 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +nodered-mainscnt +================ + +### About + +This is your project's README.md file. It helps users understand what your +project does, how to use it and anything else they may need to know. \ No newline at end of file diff --git a/flows.json b/flows.json new file mode 100644 index 0000000..abce8d3 --- /dev/null +++ b/flows.json @@ -0,0 +1,19 @@ +[ + { + "id": "f6f2187d.f17ca8", + "type": "tab", + "label": "Flow 1", + "disabled": false, + "info": "" + }, + { + "id": "3cc11d24.ff01a2", + "type": "comment", + "z": "f6f2187d.f17ca8", + "name": "WARNING: please check you have started this container with a volume that is mounted to /data\\n otherwise any flow changes are lost when you redeploy or upgrade the container\\n (e.g. upgrade to a more recent node-red docker image).\\n If you are using named volumes you can ignore this warning.\\n Double click or see info side panel to learn how to start Node-RED in Docker to save your work", + "info": "\nTo start docker with a bind mount volume (-v option), for example:\n\n```\ndocker run -it -p 1880:1880 -v /home/user/node_red_data:/data --name mynodered nodered/node-red\n```\n\nwhere `/home/user/node_red_data` is a directory on your host machine where you want to store your flows.\n\nIf you do not do this then you can experiment and redploy flows, but if you restart or upgrade the container the flows will be disconnected and lost. \n\nThey will still exist in a hidden data volume, which can be recovered using standard docker techniques, but that is much more complex than just starting with a named volume as described above.", + "x": 350, + "y": 80, + "wires": [] + } +] \ No newline at end of file diff --git a/flows_cred.json b/flows_cred.json new file mode 100644 index 0000000..9bc8766 --- /dev/null +++ b/flows_cred.json @@ -0,0 +1 @@ +{"$":"a618d667de0ba9752f98121bdf11d152uAo="} \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..0dcdd99 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "nodered-mainscnt", + "description": "A Node-RED Project", + "version": "0.0.1", + "dependencies": {}, + "node-red": { + "settings": { + "flowFile": "flows.json", + "credentialsFile": "flows_cred.json" + } + } +} \ No newline at end of file