Commit 131e802a0dfacdd6be5917a5fa6eb8307cb5c5e2
1 parent
81093c04
docs(deployment): update deployment
Showing
3 changed files
with
4 additions
and
1 deletions
deploy/ubuntu-install.sh
| ... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 | # @Author: ly525 |
| 6 | 6 | # @Date: 2019-11-30 13:24:57 |
| 7 | 7 | # @LastEditors : ly525 |
| 8 | - # @LastEditTime : 2020-01-11 12:20:31 | |
| 8 | + # @LastEditTime : 2020-01-11 17:06:44 | |
| 9 | 9 | # @FilePath: /luban-h5/deploy/ubuntu-install.sh |
| 10 | 10 | # @Github: https://github.com/ly525/luban-h5 |
| 11 | 11 | # @Description: |
| ... | ... | @@ -329,6 +329,7 @@ function install_luban-h5 { |
| 329 | 329 | installing luban-h5 |
| 330 | 330 | cd ~/ |
| 331 | 331 | git clone https://github.com/ly525/luban-h5 |
| 332 | + cd luban-h5 | |
| 332 | 333 | |
| 333 | 334 | # # 鲁班前端 |
| 334 | 335 | # cd luban-h5/front-end/h5 && yarn && yarn build # build editor and preview engine | ... | ... |
docs/en/getting-started/deployment.md
| ... | ... | @@ -31,6 +31,7 @@ npm install pm2 -g |
| 31 | 31 | ```bash |
| 32 | 32 | # just run the following code on the server |
| 33 | 33 | git clone https://github.com/ly525/luban-h5.git |
| 34 | +cd luban-h5 | |
| 34 | 35 | ./luban-h5.sh init # installation dependency, build front-end and back-end |
| 35 | 36 | ./luban-h5.sh start # just start the service |
| 36 | 37 | ./luban-h5.sh stop # stop the service | ... | ... |