一、配置类服务器的搭建
1.登录github.com,创建一个自己的账号和仓库,并获取仓库地址: debugggcloud_config_demo
2.从本地上传一个yml文件上去,内容如下
spring:
profiles:
active:
- dev
---
spring:
profiles: dev #开发环境
application:
name: debugggcloud-config-debuggg-dev
---
spring:
profiles: test #测试环境
application:
name: debugggcloud-config-debuggg-test
# 请保存为UTF-8格式