# cloud_demo
**Repository Path**: yangjianhua/cloud_demo
## Basic Information
- **Project Name**: cloud_demo
- **Description**: 学习springcloud
- **Primary Language**: Java
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2020-04-24
- **Last Updated**: 2020-12-20
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
#git 代码提交
1.git init 初始化
2.git status 查看状态
3.git add . 提交本地代码
4.git commit -m 'xxxx' 提交本地服务器
5.git pull --rebase origin master 先获取服务器代码再提交
6.git push -u origin master 上传服务器
#配置文件优先级说明
1.bootstrap.yml springboot 加载文件 加载顺序排在第一位
2.application.yml springboot 加载文件 加载顺序排在第二位
# 远程配置服务 server
1.chll-1-config-server 远程配置服务 例如 git jdbc xml 等等
1.1 配置文件 application.yml
spring:
cloud:
config:
server:
git:
uri: https://gitee.com/yangjianhua/cloud_demo.git 备注: git 地址
search-paths: SC-BOOK-CONFIG 备注: 扫描git 地址路径 可以写多个 ,分割
username: xxxx 备注: git 账号
password: xxxxx 备注: git 密码
application:
name: sc-config-git
server:
port: 9090