NodeRED/en: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Cg (Diskussion | Beiträge) |
Frhenn (Diskussion | Beiträge) |
||
(24 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
= Preparations = |
|||
bla bla |
|||
* If you haven't installed Node.js yet download and install it here: https://nodejs.org/en/download/ |
|||
[[Bild:nodeRed1.png]] |
|||
* Use the command line to verify that Nodejs has been installed correctly. |
|||
** To open the command line type "cmd" in the Windows search bar and press the enter key. |
|||
[[Datei:Command line.png|350px]] |
|||
[[Datei:opened command line.png|400px]] |
|||
*After you have opened the command line type "node --version" in. |
|||
[[Datei:check node version.png|400px]] |
|||
*Also type "npm --version" in the command line. |
|||
** Hint: npm usually comes with Node.js |
|||
[[Datei:check npm version.png|400px]] |
|||
* Internet connection available? |
|||
= Installing Node-RED = |
|||
*Open command line |
|||
[[Bild: opened command line.png|400px]] |
|||
*Enter "npm install -g --unsafe-perm node-red" and press the enter key |
|||
[[Bild: Install node-red command.png|400px]] |
|||
*Enter "npm install node-red-node-test-helper node-red --save-dev" and press the enter key |
|||
[[Bild: Install node-red-node-test-helper command.png|400px]] |
|||
*Enter "node-red" and press the enter key to start Node-RED |
|||
[[Bild: start node-red command.png|400px]] |
|||
*After you have started Node-RED open your browser (Chrome, Firefox, Internet Explorer, ...) |
|||
** Enter "localhost:1880" into the search bar of your browser and press the enter key |
|||
[[Bild: Open Node-RED Editor.png|600px]] |
Version vom 27. Januar 2020, 13:15 Uhr
Preparations[Bearbeiten]
- If you haven't installed Node.js yet download and install it here: https://nodejs.org/en/download/
- Use the command line to verify that Nodejs has been installed correctly.
- To open the command line type "cmd" in the Windows search bar and press the enter key.
- After you have opened the command line type "node --version" in.
- Also type "npm --version" in the command line.
- Hint: npm usually comes with Node.js
- Internet connection available?
Installing Node-RED[Bearbeiten]
- Open command line
- Enter "npm install -g --unsafe-perm node-red" and press the enter key
- Enter "npm install node-red-node-test-helper node-red --save-dev" and press the enter key
- Enter "node-red" and press the enter key to start Node-RED
- After you have started Node-RED open your browser (Chrome, Firefox, Internet Explorer, ...)
- Enter "localhost:1880" into the search bar of your browser and press the enter key