## 1.**环境文件**
32位环境:
JDK1.8: [https://pan.baidu.com/s/1Nz-qiOPMcLH59pCXTWvEaA](https://pan.baidu.com/s/1Nz-qiOPMcLH59pCXTWvEaA)
Tomcat8:[https://pan.baidu.com/s/1n1GNkABh3Vhoorf0NYvwjw](https://pan.baidu.com/s/1n1GNkABh3Vhoorf0NYvwjw)
Mysql5.6:[https://pan.baidu.com/s/1oHEmZ24v6Ko07P5pLUvrtQ](https://pan.baidu.com/s/1oHEmZ24v6Ko07P5pLUvrtQ)
64位环境:
JDK1.8: [https://pan.baidu.com/s/1mxSU5wysO90wXTb7mTIL-w](https://pan.baidu.com/s/1mxSU5wysO90wXTb7mTIL-w)
Tomcat8:[https://pan.baidu.com/s/1BNXibmA6JwXqcm3heiVc5w](https://pan.baidu.com/s/1BNXibmA6JwXqcm3heiVc5w)
Mysql5.6:[https://pan.baidu.com/s/1XmBxc0J4J1ZbmVuSIUJrLQ](https://pan.baidu.com/s/1XmBxc0J4J1ZbmVuSIUJrLQ)
数据库工具
navicat:[https://pan.baidu.com/s/1fEkwDa6Ok\_z5l2EuTxKjGw](https://pan.baidu.com/s/1fEkwDa6Ok_z5l2EuTxKjGw)
mysql初始化bat:[https://pan.baidu.com/s/1goMQGsGs\_bAnjCmiw5oQeg](https://pan.baidu.com/s/1goMQGsGs_bAnjCmiw5oQeg)
## 2.**导入sql**
创建数据库springbootb2b2c,并用navicat导入springbootb2b2c.sql文件,导入后会有以下表:
![](https://box.kancloud.cn/59da948e7010ca5198b99a7ca5f1bc1b_554x701.png)
## 3.**导入程序**
用maven导入程序
![](https://box.kancloud.cn/6c0931a1b91803d5dca8bfc8a016962f_525x550.png)
导入后程序结构图如下:
![](https://box.kancloud.cn/1a3181a418f3db1eea402fcaf67163dc_391x284.png)
## 4.**修改数据库配置**
application.properties文件中的数据库配置修改成自己的数据库
![](https://box.kancloud.cn/500b8d6cb1f190fc1f9f42780eeb8296_554x55.png)
## 5.**运行**
直接运行Application.java
![](https://box.kancloud.cn/c2d8f665b3c842a110dffba6817f6cb6_553x418.png)
运行后控制台有如下显示:
![](https://box.kancloud.cn/e7d0ee6fb504487fe4400944351c5700_554x263.png)
前台地址:[http://localhost:8080](http://localhost:8080)