44

GitHub - ctripcorp/apollo-use-cases: 展示Apollo配置中心的各种使用场景和示例代码...

 5 years ago
source link: https://github.com/ctripcorp/apollo-use-cases
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Purpose

展示Apollo配置中心的各种使用场景和示例代码,目前包含了以下示例项目:

欢迎大家把日常工作中的更多配置使用案例分享出来,提交Pull Request即可!

Instructions

  1. 部署并启动Apollo配置中心
  2. 部署Apollo客户端jar包
  3. 配置机器环境信息
    • Apollo支持应用在不同的环境有不同的配置,所以需要配置环境信息
    • 请参考Java客户端使用指南中的1.2.2 Environment章节
  4. 示例项目中引用的apollo-client版本为0.10.2,如果本地部署的版本不一样的话,记得修改根目录下pom.xml中的apollo.version变量
  5. 以上步骤都完成后,就可以参考各子模块的README.md来运行示例项目了

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK