transformation-flow v0.0.1
Transformation Flow
A Node-RED flow that handles data transformation and validation.
Running Flows
Run Locally
Ensure dependencies have been installed with npm install before running.
Start flows locally by running npm start, or run npm run debug to debug the Node-RED Node.js process.
You can then access the Node-RED UI at localhost:1880.
Run with Git Features
To use the projects feature, which allows access to the Project History tab (providing Git features) in the Node-RED UI, you must have this project repo folder live in this hierarchy:
+-- (parent folder)
| +-- projects
| +-- (this Node-RED project repo folder)
| +-- flow.json
| +-- flow_cred.json
| +-- settings.json
| +-- package.json
| +-- .gitignore
| +-- etc.Next, ensure Node-RED is installed globally with npm i -g node-red. Then to start, open (parent folder) in a command line and run:
node-red --settings ./projects/(this Node-RED project)/settings.js --userDir ./You can then access the UI at localhost:1880.
To open this project, in the UI dialog select "Open existing project". Then select this project and click "Open".
You can clone other Node-RED repos under the projects folder to easily be able to switch between projects in the Node-RED UI.
Run with Docker
npm run dkr-start : build and run a docker image with the projects feature enabled
npm run dkr-start-prod : build and run a docker image with the Node-RED UI disabled
Note that you will need to manually backup flow changes made in a Docker container.
6 years ago