Skip to content

Commit f6281af

Browse files
author
caesar_chi
committed
merge conflict
2 parents 6a79191 + 74cc2c6 commit f6281af

25 files changed

+133
-730
lines changed

Makefile

Lines changed: 0 additions & 5 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ $ npm install
3535
$ npm start
3636
```
3737

38-
### 產生靜態網頁
39-
40-
NodeJS 版本必須是 v0.11.x
41-
42-
```bash
43-
$ npm run build
44-
```
45-
46-
這部份如果發現任何問題,請到 [poying/giik](https://github.com/poying/giik) 發 issue。
47-
4838
### 貢獻者 Contributor
4939

5040
* [Poying](https://github.com/poying)

SUMMARY.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,13 @@
22

33
一本屬於繁體中文,從華人自身發起給予『Node.js 新手的學習手冊』,藉由實際動手開發的過程中,讓大家了解到 Node.js 開發有趣之處。
44

5-
* [Node.js 介紹](source/intro/nodejs.md)
6-
* [Node.js 安裝](source/install/installNode.md)
7-
* [Node.js 安裝](source/install/installNode.md)
8-
* [Node.js Windows 安裝](source/install/installWindowsNode.md)
9-
* [Node.js MacOS 安裝](source/install/installMacOSNode.md)
10-
* [Node.js Linux 安裝](source/install/installLinuxNode.md)
11-
* [Node.js NVM 安裝](source/install/installNvmNode.md)
12-
* [Node.js 線上測試環境](source/install/onlineEnv.md)
5+
* [Node.js 介紹](intro/nodejs.md)
6+
* [Node.js 安裝](install/installNode.md)
7+
* [Node.js 安裝](install/installNode.md)
8+
* [Node.js Windows 安裝](install/installWindowsNode.md)
9+
* [Node.js MacOS 安裝](install/installMacOSNode.md)
10+
* [Node.js Linux 安裝](install/installLinuxNode.md)
11+
* [Node.js NVM 安裝](install/installNvmNode.md)
12+
* [Node.js 線上測試環境](install/onlineEnv.md)
13+
* [實戰範例](install/installNode.md)
14+
* [如何使用範例程式?](example/howto.md)

changelog.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
##2014
22

3+
* 2014/05/13
4+
* 增加不同版本 Node.js 使用指令
35
* 2014/05/06
46
* 使用 [gitbook](http://www.gitbook.io/) 作為 npm start ,取代之前的 http-server
57
* 將介紹資料導入,修正部分描述
68
* 增加 node install, online platform 部分
79
* 2014/04/15
8-
* 大綱,條目完成
10+
* 大綱,條目完成
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ GitHub: [nodejs-tw/nodejs-book-beginner-guide-example](https://github.com/nodejs
1010

1111
在 Windows 上安裝 Git 非常容易,我們到 [http://msysgit.github.com/](http://msysgit.github.com/) 下載最新版本的 `Git Source Code Mirror`,點擊安裝程式後會看到這個畫面。
1212

13-
![msysgit](/images/msysgit-installer.png)
13+
![msysgit](images/msysgit-installer.png)
1414

1515
直接 `Next` 到底!
1616

1717
完成後我們可以在 `開始` 裡面找到 `Git bash`,我們之後的所有操作都會在這完成。
1818

19-
![git bash](/images/gitbash.png)
19+
![git bash](images/gitbash.png)
2020

2121
#### Debian/Ubuntu
2222

giik.js

Lines changed: 0 additions & 26 deletions
This file was deleted.

install/installLinuxNode.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Linux
2+
=====
3+
4+
Linux 很適合作為 Node.js 的伺服器作業系統及開發環境。安裝前,請先確認以下套件已正確安裝。
5+
6+
* curl (wget) 用來下載檔案的工具
7+
* git 先進的版本控制工具
8+
* g++ GNU C++ 軟體編譯工具
9+
* make GNU 軟體專案建置工具
10+
11+
安裝指令如下,如設有權限問題,請在指令前面加上sudo
12+
13+
git clone https://github.com/joyent/node.git
14+
cd node
15+
git checkout v0.10.25
16+
./configure
17+
make
18+
sudo make install
19+
20+
##Ubuntu 指令安裝方式
21+
22+
使用 APT 套件管理工具是常見的方法,以下是使用社群提供的 PPA 安裝方式。
23+
24+
sudo apt-get install python-software-properties
25+
sudo add-apt-repository ppa:chris-lea/node.js-devel
26+
sudo apt-get update
27+
sudo apt-get install nodejs
28+
29+
##測試
30+
31+
接著測試nodeJS 是否正常執行
32+
33+
node -v

install/installMacOSNode.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#MacOS 安裝 Node.js
2+
3+
MacOS 環境下 Node.js 官方也提供了 dmg 安裝檔提供使用者下載,進行快速安裝,下載路徑為,[Node.js 安裝檔](http://nodejs.org/dist/v0.10.28/node-v0.10.28.pkg),主要資料以 Node.js 官方網站資料為主,網址可以參考
4+
5+
http://nodejs.org/download/
6+
7+
安裝完成後,可以透過 terminal 進行測試,
8+
9+
node -v
10+
11+
正常看到版本號即表示安裝完成。
12+
13+
###提醒
14+
15+
在 MacOS 環境中會建議使用者直接採用 nvm 安裝 Node.js ,詳情可以參考 nvm 安裝章節。

0 commit comments

Comments
 (0)