Commit 86a331fad7f836463113f017c68cb516fa5daea9
1 parent
63948005
update README
Showing
2 changed files
with
18 additions
and
10 deletions
README.md
| @@ -44,12 +44,7 @@ | @@ -44,12 +44,7 @@ | ||
| 44 | - [ ] 在线预览 | 44 | - [ ] 在线预览 |
| 45 | - [ ] 二维码预览 | 45 | - [ ] 二维码预览 |
| 46 | 46 | ||
| 47 | - | ||
| 48 | -### 技术栈(当前) | ||
| 49 | -1. 前端:[Vue.js](https://vuejs.org/v2/guide/) | ||
| 50 | -2. 后端:[Strapi](https://strapi.io/) | ||
| 51 | -3. 存储:[Sqlite](https://mongodb.com) | ||
| 52 | - | 47 | +--- |
| 53 | 48 | ||
| 54 | ### 安装 | 49 | ### 安装 |
| 55 | > project:项目根目录 | 50 | > project:项目根目录 |
| @@ -57,10 +52,20 @@ | @@ -57,10 +52,20 @@ | ||
| 57 | 1. 前端 | 52 | 1. 前端 |
| 58 | 1. 编辑器部分请参照 [`project/front-end/h5/README.md`](https://github.com/ly525/luban-h5/blob/dev/front-end/h5/README.md) | 53 | 1. 编辑器部分请参照 [`project/front-end/h5/README.md`](https://github.com/ly525/luban-h5/blob/dev/front-end/h5/README.md) |
| 59 | 54 | ||
| 55 | +2. 后端 | ||
| 56 | + 1. 后端 API 部分请参照 [`project/back-end/h5-api/README.md`](https://github.com/ly525/luban-h5/blob/dev/back-end/h5-api/README.md) | ||
| 60 | 57 | ||
| 61 | -### 前端组件说明 | 58 | + |
| 59 | +### 更多说明 | ||
| 60 | +#### 前端组件说明 | ||
| 62 | 1. `lbp-` 全称为 `lu-ban-plugin-`, 意思为 `鲁班H5的插件`,位置:`front-end/h5/src/components/plugins` | 61 | 1. `lbp-` 全称为 `lu-ban-plugin-`, 意思为 `鲁班H5的插件`,位置:`front-end/h5/src/components/plugins` |
| 63 | 62 | ||
| 63 | + | ||
| 64 | +#### 技术栈(当前) | ||
| 65 | +1. 前端:[Vue.js](https://vuejs.org/v2/guide/) | ||
| 66 | +2. 后端:[Strapi](https://strapi.io/) | ||
| 67 | +3. 存储:[Sqlite](https://mongodb.com) | ||
| 68 | + | ||
| 64 | --- | 69 | --- |
| 65 | 70 | ||
| 66 | ### 交流群 (#!en Join Discussion Group) | 71 | ### 交流群 (#!en Join Discussion Group) |
back-end/h5-api/README.md
| 1 | ## The api for Luban-H5 powered by [Strapi](https://github.com/strapi/strapi/) | 1 | ## The api for Luban-H5 powered by [Strapi](https://github.com/strapi/strapi/) |
| 2 | 2 | ||
| 3 | -## roject setup | 3 | +## Project setup |
| 4 | 4 | ||
| 5 | ```bash | 5 | ```bash |
| 6 | # install strapi globally | 6 | # install strapi globally |
| 7 | npm install strapi@beta -g | 7 | npm install strapi@beta -g |
| 8 | 8 | ||
| 9 | -# default database is sqlite3(h5-api/.tmp/data.db) | ||
| 10 | yarn install | 9 | yarn install |
| 11 | -strapi develop # visit http://locahost:1337/admin | 10 | + |
| 11 | +strapi develop | ||
| 12 | + | ||
| 13 | +# default database is sqlite3(h5-api/.tmp/data.db) | ||
| 14 | +# visit http://locahost:1337/admin | ||
| 12 | ``` | 15 | ``` |