docs: 调整快速开始排版并补充前端对接
- 快速开始改为分步代码块 - 新增前端对接段落 - 删除无引用的孤立图片 wechat-app.jpg
This commit is contained in:
31
README.md
31
README.md
@@ -71,15 +71,36 @@
|
||||
|
||||
**环境要求**:JDK 17+ · MySQL 8.0+ · Redis 6.0+
|
||||
|
||||
1. 克隆项目:`git clone https://gitee.com/youlaiorg/youlai-boot.git`
|
||||
2. 导入数据库:`sql/youlai-admin.sql`
|
||||
3. 修改配置(可选,默认已配置线上只读数据源):`src/main/resources/application-dev.yml`
|
||||
4. 启动服务,访问 http://localhost:8000/doc.html
|
||||
1. 克隆项目:
|
||||
```bash
|
||||
git clone https://gitee.com/youlaiorg/youlai-boot.git
|
||||
```
|
||||
|
||||
默认账号:`admin` / `123456`
|
||||
2. 导入数据库:
|
||||
```bash
|
||||
sql/youlai-admin.sql
|
||||
```
|
||||
|
||||
3. 修改配置(可选,默认已配置线上只读数据源):
|
||||
```bash
|
||||
src/main/resources/application-dev.yml
|
||||
```
|
||||
|
||||
4. 启动服务:
|
||||
```bash
|
||||
mvn spring-boot:run
|
||||
```
|
||||
启动后访问 http://localhost:8000/doc.html,能打开接口文档即说明后端已正常运行。
|
||||
|
||||
详细指南:https://www.youlai.tech/docs/server/spring-boot/quick-start.html
|
||||
|
||||
## 前端对接
|
||||
|
||||
启动配套前端 [vue3-element-admin](https://gitee.com/youlaiorg/vue3-element-admin),访问 http://localhost:3000 即可登录:
|
||||
|
||||
- 账号:`admin`
|
||||
- 密码:`123456`
|
||||
|
||||
## 目录结构
|
||||
|
||||
```
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 43 KiB |
Reference in New Issue
Block a user