Commit eb0af387de0dfe998f7bd0e0e3f8ce4463942367
1 parent
faeeddca
update README
Showing
1 changed file
with
19 additions
and
2 deletions
README.md
| ... | ... | @@ -19,9 +19,26 @@ Mobile Page Builder&Generator with Drag&Drop |
| 19 | 19 | [](https://gitee.com/ly525/luban-h5.git) |
| 20 | 20 | |
| 21 | 21 | ## 快速体验 |
| 22 | -> 以下两种方式,任选其中一种即可 | |
| 22 | +> 以下三种方式,任选其中一种即可 | |
| 23 | 23 | |
| 24 | -#### 一、本地安装了 Node、Yarn | |
| 24 | +#### 一、一键脚本 | |
| 25 | +```bash | |
| 26 | +git clone https://github.com/ly525/luban-h5 && cd luban-h5 | |
| 27 | +# 安装依赖,构建前后端(安装依赖会耗时略长,请耐心等待) | |
| 28 | +./luban-h5.sh init | |
| 29 | + | |
| 30 | +# 启动项目访问 http://localhost:1337 即可 | |
| 31 | +./luban-h5.sh start | |
| 32 | + | |
| 33 | +# ./luban-h5.sh stop | |
| 34 | +``` | |
| 35 | + | |
| 36 | +- 更多细节,请参照 [鲁班H5-在线文档](https://ly525.github.io/luban-h5/zh/) 的 [`快速开始`](https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html) 章节,进行配置即可 | |
| 37 | + | |
| 38 | +- 如果遇到接口 403 问题,请参照 [`快速开始`](https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html) 章节,搜索关键字:403 即可 | |
| 39 | + | |
| 40 | + | |
| 41 | +#### 二、本地安装了 Node、Yarn | |
| 25 | 42 | ```bash |
| 26 | 43 | git clone https://github.com/ly525/luban-h5 |
| 27 | 44 | cd luban-h5 # 项目根目录 | ... | ... |