Skip to content

Commit 7d7bab5

Browse files
author
shimh-develop
committed
document
1 parent af33042 commit 7d7bab5

File tree

2 files changed

+10
-27
lines changed

2 files changed

+10
-27
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -79,20 +79,21 @@ Vue + SpringBoot实现的博客系统
7979
将项目clone到本地
8080

8181
## 方式一 直接运行SpringBoot项目(已将打包的静态文件放到了 resources/static下)
82-
1 将blog-api导入到IDE工具中
83-
2 resources/sql/blog-schema.sql、blog-data.sql导入MySQL数据库
84-
3 打开Redis数据库
85-
4 resources/application.properties 修改MySQL、Redis连接
86-
5 Runas运行,访问:http://localhost:8888
82+
1. 将blog-api导入到IDE工具中
83+
2. resources/sql/blog-schema.sql、blog-data.sql导入MySQL数据库
84+
3. 打开Redis数据库
85+
4. resources/application.properties 修改MySQL、Redis连接
86+
5. Runas运行,访问:http://localhost:8888
8787

8888
## 方式二 前后分离(开发方式)
89-
1 按方式一运行blog-api,提供api数据接口
90-
2 打开命令行
89+
1. 按方式一运行blog-api,提供api数据接口
90+
2. 打开命令行
9191
> cd blog-app
9292
> npm install
9393
> npm run dev
94-
3 访问:http://localhost:8080
95-
4 修改blog-app/src 下的文件进行开发
94+
3. 访问:http://localhost:8080
95+
4. 修改blog-app/src 下的文件进行开发
96+
5. npm run build 生成最终静态文件
9697

9798

9899

blog-app/README.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,5 @@
11
# 博客前端
22

3-
> 构建命令
4-
5-
## Build Setup
6-
7-
``` bash
8-
# install dependencies
9-
npm install
10-
11-
# serve with hot reload at localhost:8080
12-
npm run dev
13-
14-
# build for production with minification
15-
npm run build
16-
17-
# build for production and view the bundle analyzer report
18-
npm run build --report
19-
```
20-
213
> 更新历史
224
235
## 2018-01-04

0 commit comments

Comments
 (0)