AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Create a folder named PHP with Nginx and open it in Visual Studio Code. Next, create a directory to hold the Nginx configuration files with the command. mkdir wordpressdocker & cd wordpressdocker. Enter the following command to create the directory and navigate into it: 1. What you will need: A PC with Windows 10 or 11 (Optional) This tutorial uses Windows Terminal Preview, which. 2 days ago &0183 &32 We will use wordpressdocker for this tutorial. Workspace is just like project, you can add any folder to workspace, before you can run any task in JavaScript file, and file needs to be under workspace, when you add any folder in workspace, all files under that get added automatically.Īfter making changes in multiple files or adding files, you can simply save the workspace, all files will gets saved. Download and install VS Code, based on the platform you are using, from the VS Code homepage. js webserver on Ubuntu using Visual Studio Code. To open a new terminal click on “Terminal” => “New Terminal”.īefore you execute node filename.js command, make sure you are at the right file location, means the folder path where you have saved the fileĪs you can see in the above screen, "Hello Avishkar, Welcome to WTR" is the result of executing the Javascript file. Now call the file from console just by typing node app.js Save the file ( File=> Save), Don't forget Click on explorer, then create a file called app.js (you can give any name) Look at the following few steps carefully, simple step, but understand how it works with VS Editor Once you open Visual Studio Code Editor, you will see a screen like below, where you can start creating JavaScript file, html files etc. First you need to download and install Visual Studio Code.
0 Comments
Read More
Leave a Reply. |