mirror of
https://github.com/201206030/novel.git
synced 2025-04-27 07:30:50 +00:00
Update README.md
This commit is contained in:
parent
8ba670cebb
commit
8b43851955
18
README.md
18
README.md
@ -190,7 +190,7 @@ io
|
|||||||
|
|
||||||
- 下载后端源码
|
- 下载后端源码
|
||||||
|
|
||||||
```
|
```bash
|
||||||
git clone https://gitee.com/novel_dev_team/novel.git
|
git clone https://gitee.com/novel_dev_team/novel.git
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -208,7 +208,7 @@ git clone https://gitee.com/novel_dev_team/novel.git
|
|||||||
|
|
||||||
1. 修改`src/resources/application.yml`配置文件中的数据源配置
|
1. 修改`src/resources/application.yml`配置文件中的数据源配置
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
spring:
|
spring:
|
||||||
datasource:
|
datasource:
|
||||||
url: jdbc:mysql://localhost:3306/novel_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
url: jdbc:mysql://localhost:3306/novel_test?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||||||
@ -218,7 +218,7 @@ git clone https://gitee.com/novel_dev_team/novel.git
|
|||||||
|
|
||||||
2. 修改`src/resources/application.yml` 和 `src/resources/redisson.yml` 配置文件中的`redis`连接配置
|
2. 修改`src/resources/application.yml` 和 `src/resources/redisson.yml` 配置文件中的`redis`连接配置
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
spring:
|
spring:
|
||||||
redis:
|
redis:
|
||||||
host: 127.0.0.1
|
host: 127.0.0.1
|
||||||
@ -226,7 +226,7 @@ git clone https://gitee.com/novel_dev_team/novel.git
|
|||||||
password: 123456
|
password: 123456
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
singleServerConfig:
|
singleServerConfig:
|
||||||
address: "redis://127.0.0.1:6379"
|
address: "redis://127.0.0.1:6379"
|
||||||
password: 123456
|
password: 123456
|
||||||
@ -236,7 +236,7 @@ git clone https://gitee.com/novel_dev_team/novel.git
|
|||||||
|
|
||||||
4. 项目根目录下运行如下命令来启动后端服务(有安装 IDE 的可以导入源码到 IDE 中运行)
|
4. 项目根目录下运行如下命令来启动后端服务(有安装 IDE 的可以导入源码到 IDE 中运行)
|
||||||
|
|
||||||
```
|
```bash
|
||||||
mvn spring-boot:run
|
mvn spring-boot:run
|
||||||
```
|
```
|
||||||
5. 接口文档访问地址:`http://server:port/swagger-ui/index.html`
|
5. 接口文档访问地址:`http://server:port/swagger-ui/index.html`
|
||||||
@ -244,7 +244,7 @@ git clone https://gitee.com/novel_dev_team/novel.git
|
|||||||
|
|
||||||
- 下载前端前台门户系统源码
|
- 下载前端前台门户系统源码
|
||||||
|
|
||||||
```
|
```bash
|
||||||
git clone https://gitee.com/novel_dev_team/novel-front-web.git
|
git clone https://gitee.com/novel_dev_team/novel-front-web.git
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -254,18 +254,18 @@ git clone https://gitee.com/novel_dev_team/novel-front-web.git
|
|||||||
|
|
||||||
2. `yarn`安装
|
2. `yarn`安装
|
||||||
|
|
||||||
```
|
```bash
|
||||||
npm install -g yarn
|
npm install -g yarn
|
||||||
```
|
```
|
||||||
|
|
||||||
3. 项目根目录下运行如下命令来安装项目依赖
|
3. 项目根目录下运行如下命令来安装项目依赖
|
||||||
|
|
||||||
```
|
```bash
|
||||||
yarn install
|
yarn install
|
||||||
```
|
```
|
||||||
4. 项目根目录下运行如下命令启动
|
4. 项目根目录下运行如下命令启动
|
||||||
|
|
||||||
```
|
```bash
|
||||||
yarn serve
|
yarn serve
|
||||||
```
|
```
|
||||||
5. 浏览器通过`http://localhost:1024`来访问
|
5. 浏览器通过`http://localhost:1024`来访问
|
||||||
|
Loading…
x
Reference in New Issue
Block a user