# springboot **Repository Path**: fu_gao_bo/springboot ## Basic Information - **Project Name**: springboot - **Description**: springbott学习 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-03-05 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 运行本项目前,请确保以下配置无误 开发环境: 1、编译器:IDEA 2、JDK1.8 3、maven3 4、Git2.10 5、MySQL5.7数据库,数据库名:test,账号:root,密码:123456(如有需要请自行到application.yml文件修改) 6、项目编码为UTF-8 7、maven依赖导入正确(建议修改在IDEA中的maven配置,file->settings->maven下settings文件镜像为阿里云,maven_repository为jar包存放的目录) #本项目基于SpringBoot框架,采用Maven构建项目,Git版本控制 #已整合: mybatis mysql 日志管理 热部署 单元测试 httpclient redis jpa 服务器采用jenkins部署构建 #预计整合: shiro druid 服务器预计添加: docker nginx #部署服务器流程 1、本地开发好功能后,本地代码上传至远程仓库,并确认远程仓库是否update ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/工蜂截图.png) 2、服务器端部署好jenkins并严格按照脚本说明部署(写好shell脚本,代码从远程仓库读取),其中jenkins的配置shell在package_war包内已有说明 git源和账户配置: ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/jenkins配置1.png) 3、构建项目 构建脚本配置: ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/jenkins构建2.png) 开始构建: ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/jenkins构建3.png) 查看运行日志 ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/构建4.png) 最后构建成功: ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/构建5.png) 4、测试成功 ![效果](https://git.code.tencent.com/ffw/springdemo/raw/master/upload_img/成功.png)