- Setting up NodeJS Environment
- Program Hello World & Execute on Console
Setting up NodeJS Environment
I recommend using Docker environment for setting up the NodeJS environment. Using that you could work on CentOS and NodeJS and make bets use of NodeJS. Follow the instructions on following page, Dummies Notes – Get Started with Docker Hello World to setup the Docker environment. Recently, Docker has launched a one-click docker setup tool, namely, Docker Toolbox whose details could be found on this page, The fastest way to get Docker running in development. Good news is that this new tool automatically migrate existing images from existing boot2docker-vm. Once docker is setup, following the instructions on following page, How to Install NodeJS on Docker, to setup NodeJS in your Docker Centos container.
Program Hello World & Execute on Console
Once NodeJS is setup using above instructions, create a simplistic hello world program (hello-world.js) such as following:
console.log( "Hello World");
Execute the hello-world.js using Node in following manner:
node hello-world.js
Above would print “Hello World”.
- Agentic Reasoning Design Patterns in AI: Examples - October 18, 2024
- LLMs for Adaptive Learning & Personalized Education - October 8, 2024
- Sparse Mixture of Experts (MoE) Models: Examples - October 6, 2024
I found it very helpful. However the differences are not too understandable for me