[README.md]

This commit is contained in:
Luk Lu
2019-09-24 17:42:43 +08:00
parent f5efdcbc06
commit 49942c99bc

View File

@@ -12,13 +12,7 @@
## Installation Guide | 安装指南 ## Installation Guide | 安装指南
### Table of Contents ### Requirements
1. [Requirements](#1-requirements)
2. [Preparation](#2-preparation)
3. [Launch](#3-launch)
### 1. Requirements
+ OS + OS
@@ -36,7 +30,7 @@
+ See <https://git.faronear.org/tic/node.server/src/master/doc/Installation.md> + See <https://git.faronear.org/tic/node.server/src/master/doc/Installation.md>
### 2. Preparation ### Preparation
2.1 Download source code/下载源码 2.1 Download source code/下载源码
@@ -52,7 +46,7 @@ git checkout master
npm install npm install
``` ```
### 3. Launch ### Launch
1. `lint` to format files 1. `lint` to format files
@@ -75,8 +69,9 @@ npm install
4. `deploy` to upload distribution to a TIC node host 4. `deploy` to upload distribution to a TIC node host
``` ```
npm run deploy -- -p '远程登录密码' -k "用户私钥文件" -u '远程登录用户' -r '远程路径' -H '远程主机' -P '远程端口' npm run deploy -- -p '远程登录密码' -k "用户私钥文件" -u '远程登录用户' -D '远程路径' -d '远程文件夹' -H '远程主机' -P '远程端口'
``` ```
通常只需例如 `npm run deploy -- -p '密码' -H 'us.test.bittic.net'`
5. `daemon` to launch web server on a TIC node host 5. `daemon` to launch web server on a TIC node host
@@ -85,4 +80,6 @@ npm install
npm run daemon npm run daemon
``` ```
### Visit
`http://host:60000`