What does it mean to run locally?
To run a program locally means to run it on the machine you are sitting at (or for a program to run it on the same machine it is running on itself), as opposed to causing it to run on some remote machine..
How do I run a local host?
On Windows:Once XAMPP is installed, open it and view the Control Panel.Start Apache by clicking on the Start option of the Apache service.Click Explorer to see the file structure of your localhost server.Click on the htdocs folder. … Create a new folder in htdocs, call it my-site.More items…
download nodejs to your system.open a notepad write js command “console.log(‘Hello World’);”save the file as hello.js preferably same location as nodejs.open command prompt navigate to the location where the nodejs is located. … and run the command from the location like c:\program files\nodejs>node hello.js.More items…•