1 | ## Description
|
2 |
|
3 | Deploy web application tool, supports deploying web application to servers
|
4 |
|
5 | ## Features
|
6 |
|
7 | - ✔︎ Local or remote projcet supported
|
8 | - ✔︎ Front or Node application supported, Node application will run after deploy
|
9 | - ✔︎ Upload assets to OSS supported
|
10 | - ✔︎ Extends default global or project config supported
|
11 |
|
12 | ## Install
|
13 |
|
14 | ```sh
|
15 | npm i @ifun/deploy -g
|
16 | ```
|
17 |
|
18 | ## Use
|
19 |
|
20 | ```sh
|
21 | # deploy app
|
22 | deploy app <scheme>
|
23 |
|
24 | # e.g
|
25 | deploy app dev
|
26 |
|
27 | # get config web
|
28 | deploy config get web
|
29 |
|
30 | # set config web with value 88.88.88.88
|
31 | deploy config set web 88.88.88.88
|
32 |
|
33 | # upload assets to OSS only
|
34 | deploy oss <app-name> [options]
|
35 |
|
36 | # for help
|
37 | deploy -h
|
38 |
|
39 | # for more detail
|
40 | deploy <command> -h
|
41 |
|
42 | # e.g
|
43 | deploy app -h
|
44 |
|
45 | ```
|