August 2017
Intermediate to advanced
214 pages
4h 31m
English
Let's pick up where we left off.
Open the hello-world.js file with your favorite text editor and modify its contents to this:
console.log('Hello World!');
Push your code to the Pi, then on your Pi's command line, inside the sensor-project folder, run this:
node hello-world/hello-world.js
You should see the Hello World! output printed to the console. Congratulations! You have just executed your first piece of server-side JavaScript code.
Read now
Unlock full access