[package.json] rename dist to debut, drive to serve
This commit is contained in:
12
README.md
12
README.md
@@ -60,10 +60,10 @@ npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
3. `dist` to pack source code into html/css/js for distribution
|
||||
3. `debut` to pack source code into html/css/js for distribution
|
||||
|
||||
```
|
||||
npm run dist
|
||||
npm run debut
|
||||
```
|
||||
|
||||
4. `deploy` to upload distribution to a TIC node host
|
||||
@@ -73,13 +73,9 @@ npm install
|
||||
```
|
||||
通常只需例如 `npm run deploy -- -p '密码' -H 'us.test.bittic.net'`
|
||||
|
||||
5. `daemon` to launch web server on a TIC node host
|
||||
5. `serve` to launch web server on a TIC node host
|
||||
|
||||
登录到一台 TIC 节点主机,下载并进入代码目录,然后启动 web 服务:
|
||||
```
|
||||
npm run daemon
|
||||
npm run serve
|
||||
```
|
||||
|
||||
### Visit
|
||||
|
||||
`http://host:60000`
|
||||
|
||||
Reference in New Issue
Block a user