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

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:

主站蜘蛛池模板: 拜泉县| 灵山县| 无为县| 和政县| 明星| 尚志市| 安庆市| 樟树市| 福清市| 溧阳市| 石柱| 洛隆县| 卫辉市| 勃利县| 临漳县| 乐至县| 滕州市| 岳阳县| 定远县| 周宁县| 新晃| 太和县| 天柱县| 洛阳市| 乌兰县| 东至县| 三明市| 乐陵市| 延安市| 杨浦区| 长沙市| 涞水县| 宁夏| 淮滨县| 大关县| 多伦县| 佛山市| 海淀区| 栾川县| 南昌市| 虎林市|