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,7 +5,7 @@ | ||
| 5 | # @Author: ly525 | 5 | # @Author: ly525 |
| 6 | # @Date: 2019-11-30 13:24:57 | 6 | # @Date: 2019-11-30 13:24:57 |
| 7 | # @LastEditors : ly525 | 7 | # @LastEditors : ly525 |
| 8 | - # @LastEditTime : 2020-01-11 12:20:31 | 8 | + # @LastEditTime : 2020-01-11 17:06:44 |
| 9 | # @FilePath: /luban-h5/deploy/ubuntu-install.sh | 9 | # @FilePath: /luban-h5/deploy/ubuntu-install.sh |
| 10 | # @Github: https://github.com/ly525/luban-h5 | 10 | # @Github: https://github.com/ly525/luban-h5 |
| 11 | # @Description: | 11 | # @Description: |
| @@ -329,6 +329,7 @@ function install_luban-h5 { | @@ -329,6 +329,7 @@ function install_luban-h5 { | ||
| 329 | installing luban-h5 | 329 | installing luban-h5 |
| 330 | cd ~/ | 330 | cd ~/ |
| 331 | git clone https://github.com/ly525/luban-h5 | 331 | git clone https://github.com/ly525/luban-h5 |
| 332 | + cd luban-h5 | ||
| 332 | 333 | ||
| 333 | # # 鲁班前端 | 334 | # # 鲁班前端 |
| 334 | # cd luban-h5/front-end/h5 && yarn && yarn build # build editor and preview engine | 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,6 +31,7 @@ npm install pm2 -g | ||
| 31 | ```bash | 31 | ```bash |
| 32 | # just run the following code on the server | 32 | # just run the following code on the server |
| 33 | git clone https://github.com/ly525/luban-h5.git | 33 | git clone https://github.com/ly525/luban-h5.git |
| 34 | +cd luban-h5 | ||
| 34 | ./luban-h5.sh init # installation dependency, build front-end and back-end | 35 | ./luban-h5.sh init # installation dependency, build front-end and back-end |
| 35 | ./luban-h5.sh start # just start the service | 36 | ./luban-h5.sh start # just start the service |
| 36 | ./luban-h5.sh stop # stop the service | 37 | ./luban-h5.sh stop # stop the service |
docs/zh/getting-started/deployment.md
| @@ -27,6 +27,7 @@ | @@ -27,6 +27,7 @@ | ||
| 27 | 27 | ||
| 28 | ```bash | 28 | ```bash |
| 29 | git clone https://github.com/ly525/luban-h5.git | 29 | git clone https://github.com/ly525/luban-h5.git |
| 30 | +cd luban-h5 | ||
| 30 | ./luban-h5.sh init # 安装依赖,构建前后端 | 31 | ./luban-h5.sh init # 安装依赖,构建前后端 |
| 31 | ./luban-h5.sh start # 启动项目即可 | 32 | ./luban-h5.sh start # 启动项目即可 |
| 32 | ./luban-h5.sh stop # 停止服务 | 33 | ./luban-h5.sh stop # 停止服务 |