diff --git a/README.md b/README.md index 4f46fe7..e90e5e5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,12 @@ # node.console.web -[Installation Guide](./doc/Installation.md) \ No newline at end of file +时光链节点控制台: 配合 node.server 的前端界面。 + +## Table of Contents + +1. [Installation Guide](./doc/Installation.md) +2. [References](#references) + +## 2. References + ++ 返回根文档:https://git.faronear.org/tic/doc/ diff --git a/doc/Installation.md b/doc/Installation.md index 6face23..a76b402 100644 --- a/doc/Installation.md +++ b/doc/Installation.md @@ -1,13 +1,12 @@ # Installation Guide of node.console.web -配合 node.server 的前端界面。 - ## Table of Contents 1. [System requirements](#1-system-requirements) 2. [Preparation](#2-preparation) 3. [Launch](#3-launch) + 4. [References](#4-references) ## 1. System requirements @@ -34,7 +33,7 @@ ``` git clone https://git.faronear.org/tic/node.console.web cd node.console.web -git checkout stable +git checkout master ``` 2.2 Install dependencies @@ -66,7 +65,11 @@ npm install 4. `run deploy` to upload distribution to remote host ``` - npm run deploy -- -p '远程密码' -u '用户名' -r '远程路径' -H '远程主机' + npm run deploy -- -p '远程登录密码' -k "用户私钥文件" -u '远程登录用户' -r '远程路径' -H '远程主机' -P '远程端口' + ``` + 或者不借助 npm, 直接调用 deploy.js: + ``` + node deploy.js -p 远程登录密码' -k "用户私钥文件" -u '远程登录用户' -r '远程路径' -H '远程主机' -P '远程端口' ``` 5. `run daemon` to launch web server on remote host @@ -76,3 +79,8 @@ npm install npm run daemon ``` 启动 web 服务。 + +## 4. References + ++ 返回上级文档:https://git.faronear.org/tic/node.console.web ++ 返回根文档:https://git.faronear.org/tic/doc/