8014c7c636649d3e76d5aaadd9db3cc12ff83ec8
node.console.web
时光节点.客户端(Web)
GIT项目库导航
Installation Guide | 安装指南
Table of Contents
1. Requirements
-
OS
- Linux, Windows, MacOS
-
nodejs
- For support on installing nodejs, see https://git.faronear.org/lib/coding/src/master/JavaScript/nodejs.md
-
git
- For support on installing git, see https://git.faronear.org/lib/coding/src/master/VCS/git.md
-
node.server
2. Preparation
2.1 Download source code/下载源码
git clone https://git.faronear.org/tic/node.console.web
cd node.console.web
git checkout master
2.2 Install dependencies/安装依赖
npm install
3. Launch
-
lintto format filesnpm run lint -
devto test source code and 'hot-start' in a local web servernpm run dev -
distto pack source code into html/css/js for distributionnpm run dist -
deployto upload distribution to a TIC node hostnpm run deploy -- -p '远程登录密码' -k "用户私钥文件" -u '远程登录用户' -r '远程路径' -H '远程主机' -P '远程端口' -
daemonto launch web server on a TIC node host登录到一台 TIC 节点主机,下载并进入代码目录,然后启动 web 服务:
npm run daemon
Description
Languages
JavaScript
64.8%
Vue
33.9%
HTML
0.9%
SCSS
0.4%