## 入门必须配置,以下配置一步都能少!!! * 1.配置数据库 ``` jeewx-boot-start\src\main\resources\application-dev.yml ``` ![](https://img.kancloud.cn/07/85/078572a4eb0f2a2be0731ac0194c641e_1255x554.png) * 2.配置redis ``` jeewx-boot-start\src\main\resources\application-dev.yml ``` ![](https://img.kancloud.cn/06/2c/062c3e1b06cb73d57bbd88f04866ec06_969x518.png) * 3.配置阿里云存储账号 (必须配置,系统所有图片上传都采用云存储) [阿里云账号申请方法](https://blog.csdn.net/legend12300/article/details/51130877) ``` jeewx-boot-start\src\main\resources\application-dev.yml ``` ![](https://img.kancloud.cn/d6/11/d611d21e88bed302caeb83c1bee83f42_824x518.png) #### 参数说明 | 参数 | 说明 | | --- | --- | | endpoint | 阿里云账号的 | | accessKeyId | 账号的accessKeyId | | accessKeySecret | 账号的accessKeySecret | | bucketName | 阿里云bucketName名字 | | imgDomain | 阿里云用户绑定域名 | * endpoin和 bucketName获取 ![](https://img.kancloud.cn/39/b5/39b557bcd1746b053ff7caae38f63c52_749x488.png) * 域名截图 ![](https://img.kancloud.cn/bf/58/bf5805db750df6af2ff2073e31dbbf6d_1209x299.png) * accessKeyId和accessKeySecret 获取 ![](https://img.kancloud.cn/83/e5/83e56f3db358c5ac4ea1174060d4c131_1584x442.png) * 设置为公共读 ![](https://img.kancloud.cn/06/2e/062ea83875d07855c3cbcf3fc58e758c_1009x355.png) * 4.配置访问域名 ``` jeewx-boot-start\src\main\resources\jeewx.properties ``` ![](https://img.kancloud.cn/67/b7/67b7f6c3f0b05a0233709030693aeb4c_949x601.png) * 5.执行数据库脚步 ``` 要求 mysql5.7+ 通过 db/schema_mysql5.7.sql 创建数据库; 通过 db/jeewx-boot-mysql5.7.sql 初始化数据; ``` * 6.Maven私服配置 找到 maven老家 conf/settings.xml 在<mirrors>标签内增加下面方式的阿里云maven镜像(删除自己的镜像配置), 最终结果见下面: ``` <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror> </mirrors> ``` * 7.启动项目 ``` 项目采用SpringBoot架构; 右键执行JAVA类: jeewx-boot-start/com.jeecg.JeewxBootApplication 启动成功后访问: http://localhost:80 (admin\123456) ``` ![](https://img.kancloud.cn/ab/dd/abdd6f71bf6e48cff5c1c998714d746b_1419x806.png) ![](https://img.kancloud.cn/45/9e/459e7dd8fbd2b4acf4f3815692ee8306_1526x771.png) ![](https://img.kancloud.cn/cf/05/cf058bc36366193c34602ddc6c9a6aba_1593x752.png) ## 其他配置(可以不用的功能) * 8.短信接口配置(采用的阿里大鱼短信) ![](https://img.kancloud.cn/00/c1/00c157284391e103e9b9c05bd4805edf_764x433.png) * 9.邮件配置(系统注册等通知) ![](https://img.kancloud.cn/6d/50/6d5069bdc344e82291d17cf57ee9f44d_724x511.png) * 10.微信第三方平台配置(扫描授权公众号需要) 第一步:配置文件修改 ![](https://img.kancloud.cn/05/3a/053a54c5846f11ac75500919d53ab6dc_954x589.png) 第二步:手工往数据库【weixin_open_account】,插入一条第三放平台配置数据 ![](https://img.kancloud.cn/ce/c0/cec0508ee9466c4a9939794816e0d4c9_1290x392.png)