# newProjectProperties **Repository Path**: kvii/newProjectProperties ## Basic Information - **Project Name**: newProjectProperties - **Description**: 重构项目的配置文件存放地址 - **Primary Language**: Java - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-10-03 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # newProjectProperties #### 介绍 重构项目的配置文件存放地址 config配置中心搭建 1.maven的quickStart创建工程。 2.添加依赖,将版本交由parent控制(spring-cloud-dependencies) org.springframework.cloud spring-cloud-config-server org.springframework.cloud spring-cloud-starter-eureka 3.配置application.properties #仓库地址 spring.cloud.config.server.git.uri=https://gitee地址/emconfig #文件夹名/具体配置文件 spring.cloud.config.server.git.searchPaths=/文件夹或文件名 #分支,默认是master spring.cloud.config.label=master 使用方式待定。