官术网_书友最值得收藏!

Running our first node program

Node is a JavaScript runtime, which means that it is an environment on top of which you can execute your JavaScript code. It is recommended that you make a new folder for all project files that we will use throughout this book.
Managing all the project files can be done with either of these ways:

  • Using your favorite text editor application on the Raspberry Pi (if you are using the Raspberry Pi's desktop)
  • Using one of the Terminal editors, such as vi or nano. This can be done on SSH or through the Raspberry Pi Terminal application.
  • Editing files on a repository on your own computer and pushing changes to the Pi using a version control management tool like Git.

The last method is the most efficient and also the least error-prone. In fact, I feel it's appropriate to take a brief diversion to set it up so that we can work with a much clearer standard going forward:

主站蜘蛛池模板: 沂南县| 南昌县| 崇信县| 黄冈市| 错那县| 新龙县| 鹤峰县| 花莲市| 大理市| 甘孜县| 建德市| 都安| 天台县| 迁安市| 六枝特区| 亳州市| 阿瓦提县| 沙洋县| 哈巴河县| 禹州市| 秦安县| 香河县| 辰溪县| 鱼台县| 阿拉尔市| 集安市| 威信县| 汽车| 会昌县| 江川县| 措勤县| 雅安市| 武强县| 阿拉尔市| 东城区| 海门市| 嘉兴市| 朝阳市| 江口县| 合水县| 海南省|