Commit 6a908df292c1e7275432ab268f29c8ac1255bf66
Committed by
GitHub
1 parent
c8bc04be
Update README.md
Showing
1 changed file
with
21 additions
and
4 deletions
README.md
| ... | ... | @@ -18,12 +18,29 @@ Mobile Page Builder&Generator with Drag&Drop |
| 18 | 18 | [](https://GitHub.com/ly525/luban-h5/stargazers/) |
| 19 | 19 | [](https://gitee.com/ly525/luban-h5.git) |
| 20 | 20 | |
| 21 | -### 快速体验 | |
| 22 | -> 使用官方提供的 [***一键安装脚本***](https://raw.githubusercontent.com/ly525/luban-h5/dev/deploy/ubuntu-install.sh),简化安装步骤,在本地通过使用 `Docker+Ubuntu 镜像`,即可`快速安装+体验` 鲁班H5 | |
| 21 | +## 快速体验 | |
| 22 | +> 以下两种方式,任选选择其中一种即可 | |
| 23 | + | |
| 24 | +#### 一、本地安装了 Node、Yarn | |
| 25 | +```bash | |
| 26 | +git clone https://github.com/ly525/luban-h5 | |
| 27 | +cd luban-h5 # 项目根目录 | |
| 23 | 28 | |
| 24 | -> [快速体验-完整文档](https://github.com/ly525/luban-h5/wiki/Quick-Start(%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B%E7%AF%87)%EF%BC%9ADocker-Ubuntu-Image-for-Quick-Local-Dev) | |
| 29 | +# 后端 | |
| 30 | +cd back-end/h5-api && yarn && yarn dev | |
| 31 | + | |
| 32 | +# 前端 | |
| 33 | +# 新开一个终端,在项目根目录执行如下命令 | |
| 34 | +cd front-end/h5 && yarn && yarn build:engine && yarn dev | |
| 35 | +``` | |
| 36 | +- 按照提示,在浏览器中访问终端中提示的 URL 即可 | |
| 37 | +- 更多细节,请参照 [鲁班H5-在线文档](https://ly525.github.io/luban-h5/zh/) 的 [`快速开始`](https://ly525.github.io/luban-h5/zh/getting-started/quick-start.html) 章节,进行配置即可 | |
| 38 | + | |
| 39 | + | |
| 40 | +#### 二、熟悉 Docker | |
| 41 | +> 使用官方提供的 [***一键安装脚本***](https://raw.githubusercontent.com/ly525/luban-h5/dev/deploy/ubuntu-install.sh),简化安装步骤,在本地通过使用 `Docker+Ubuntu 镜像`,即可`快速安装+体验` 鲁班H5 | |
| 25 | 42 | |
| 26 | -> 简而言之: | |
| 43 | +> [快速体验-完整文档](https://github.com/ly525/luban-h5/wiki/Quick-Start(%E5%BF%AB%E9%80%9F%E4%B8%8A%E6%89%8B%E7%AF%87)%EF%BC%9ADocker-Ubuntu-Image-for-Quick-Local-Dev),简而言之: | |
| 27 | 44 | |
| 28 | 45 | ```shell |
| 29 | 46 | docker pull ubuntu | ... | ... |