提供 README.md 和 doc/Installation.md

This commit is contained in:
luk.lu
2019-05-15 16:17:36 +08:00
parent f61146c883
commit ecee62dff3
2 changed files with 22 additions and 5 deletions

View File

@@ -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/