From a081773a7b373f5ecf1f13fb7b7894585066fad4 Mon Sep 17 00:00:00 2001 From: hellohao <47170291+Hello-hao@users.noreply.github.com> Date: Wed, 12 Jun 2019 22:41:29 +0800 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a79e611..ea7c4f7 100644 --- a/README.md +++ b/README.md @@ -31,23 +31,31 @@ git clone https://github.com/Hello-hao/Tbed.git ### 导入数据库 -创建数据库, 字符集选择 `utf8`, 排序规则选择 `utf8_general_ci`. +创建数据库`picturebed`, 字符集选择 `utf8`, 排序规则选择 `utf8_general_ci`. +导入picturebed.sql ### 配置文件 打开 `application.properties` 修改 `MySQL` 和 `服务器端口` 等连接信息. ```properties -server.port=8088 - +#数据库账号 spring.datasource.username=root +#数据库密码 spring.datasource.password=root -spring.datasource.url=jdbc:mysql://localhost:3306/picturebed?useUnicode=true&characterEncoding=utf8 +#数据库地址 +spring.datasource.url=jdbc:mysql://localhost:3306/picturebed?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8 +#端口 +server.port=8088 ``` ### 启动项目 在完成了上述步骤后,找到 TbedApplication 启动类, 启动即可. +初始用户名:admin +初始邮箱:admin +初始密码`admin` + 启动后访问地址为:http://localhost:8088 , `8088`就是你配置`server.port=8088`的端口. ## 系统预览 @@ -58,6 +66,9 @@ spring.datasource.url=jdbc:mysql://localhost:3306/picturebed?useUnicode=true&cha ![后台管理 - Hellohao图床2.png](https://i.loli.net/2019/06/12/5d00d660428dd24340.png) +### 说明 +如果你不会编译本程序可以去我的博客搜`图床`,下载编译后jar包直接部署即可。 + ### 技术选型