[README.md]
This commit is contained in:
17
README.md
17
README.md
@@ -12,13 +12,7 @@
|
||||
|
||||
## Installation Guide | 安装指南
|
||||
|
||||
### Table of Contents
|
||||
|
||||
1. [Requirements](#1-requirements)
|
||||
2. [Preparation](#2-preparation)
|
||||
3. [Launch](#3-launch)
|
||||
|
||||
### 1. Requirements
|
||||
### Requirements
|
||||
|
||||
+ OS
|
||||
|
||||
@@ -36,7 +30,7 @@
|
||||
|
||||
+ See <https://git.faronear.org/tic/node.server/src/master/doc/Installation.md>
|
||||
|
||||
### 2. Preparation
|
||||
### Preparation
|
||||
|
||||
2.1 Download source code/下载源码
|
||||
|
||||
@@ -52,7 +46,7 @@ git checkout master
|
||||
npm install
|
||||
```
|
||||
|
||||
### 3. Launch
|
||||
### Launch
|
||||
|
||||
1. `lint` to format files
|
||||
|
||||
@@ -75,8 +69,9 @@ npm install
|
||||
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
|
||||
|
||||
@@ -85,4 +80,6 @@ npm install
|
||||
npm run daemon
|
||||
```
|
||||
|
||||
### Visit
|
||||
|
||||
`http://host:60000`
|
||||
|
||||
Reference in New Issue
Block a user