Skip to content

Commit

Permalink
finish nodejs install
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnySnail committed Apr 7, 2018
1 parent ea130ce commit 92ef48c
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/zh_CN/_templates/baidu_tongji.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?3d7584e34115fda9fc343709c57a7130";
hm.src = "https://hm.baidu.com/hm.js?b4bbaad5115a9e81fb0457a904c870e9";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_CN/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ NodeJs小册
:maxdepth: 3

关于 <about/index>
快速开始 <quickstart/index>
快速开始 <quick-start/index>



Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,33 @@
快速开始
========

安装
========
`Node.js官网 <https://nodejs.org/en/>`_ 上提供了 `Windows` 与 `Mac` 版本的安装程序,以及 `Linux` 版本的源代码。

下面以 `Mac` 系统为例来安装 `Node` :

进入官网,可以看到有两个版本的 `Node`,在这里,我们推荐大家使用 `LTS` 版本,因为这个版本是稳定的,并且可以使你从老版本丝滑过渡到新版本。

点击下载,下载完毕后,打开安装程序,进行安装。

.. figure:: /_images/quick-start/ba4e6179e73a070345e6e0d6dcd35f5d.jpg
:width: 400px

在安装 `Node` 的同时,也会自动帮我们安装对应版本的 `Npm` , `Npm` 是一个强大的库管理工具,在以后的开发中,我们会经常接触到。

.. figure:: /_images/quick-start/f0c85bfc1365d5461699254a1e5ae256.jpg
:width: 400px

点击继续,进行安装,一般按照默认的安装位置进行安装即可。
在 `Windows` 中,默认的安装路径是 ``C:\Program Files\nodejs``。
在 `Mac` 中,默认的安装路径是 ``/usr/local/bin``

.. figure:: /_images/quick-start/ad02bac99889aae7e78b65ea8f092e5b.jpg
:width: 400px

`Node` 安装成功。

你好世界
========

Expand Down

0 comments on commit 92ef48c

Please sign in to comment.