|
1 |
| -# 项目简介 |
2 |
| -本项目是《使用Spring Cloud与Docker实战微服务》: |
| 1 | +# How To Start |
3 | 2 |
|
4 |
| -[http://git.oschina.net/itmuch/spring-cloud-book](http://git.oschina.net/itmuch/spring-cloud-book) |
| 3 | +## ENV Prepare: |
5 | 4 |
|
6 |
| -[http://www.github.com/eacdy/spring-cloud-book](http://www.github.com/eacdy/spring-cloud-book) |
7 |
| - |
8 |
| -Spring Cloud章节的配套代码,如有疑问,请移步至该地址。 |
9 |
| - |
10 |
| -微服务架构交流QQ群:157525002(2000人群,已满),**564840207(2000人群,欢迎加入)**,欢迎加入。 |
11 |
| - |
12 |
| - |
13 |
| - |
14 |
| -内容主要包含: |
15 |
| - |
16 |
| -| 微服务角色 | 对应的技术选型 | |
17 |
| -| --------------------- | ------------------------------------ | |
18 |
| -| 注册中心(Register Server) | Eureka | |
19 |
| -| 服务提供者 | spring mvc、spring-data-jpa、h2等 | |
20 |
| -| 服务消费者 | Ribbon/Feign消费服务提供者的接口 | |
21 |
| -| 熔断器 | Hystrix,包括Hystrix Dashboard以及Turbine | |
22 |
| -| 配置服务 | Spring Cloud Config Server | |
23 |
| -| API Gateway | Zuul | |
24 |
| - |
25 |
| - |
26 |
| - |
27 |
| -# 准备 |
28 |
| - |
29 |
| -## 环境准备: |
30 |
| - |
31 |
| -| 工具 | 版本或描述 | |
| 5 | +| Tool | Version | |
32 | 6 | | ----- | -------------------- |
|
33 | 7 | | JDK | 1.8 |
|
34 |
| -| IDE | STS 或者 IntelliJ IDEA | |
| 8 | +| IDE | STS or IntelliJ IDEA | |
35 | 9 | | Maven | 3.x |
|
36 | 10 |
|
37 |
| -## 主机名配置: |
| 11 | +## host-config: |
38 | 12 |
|
39 |
| -| 主机名配置(C:\Windows\System32\drivers\etc\hosts文件) | |
| 13 | +| host-config(C:\Windows\System32\drivers\etc\hosts) | |
40 | 14 | | ---------------------------------------- |
|
41 | 15 | | 127.0.0.1 discovery config-server gateway movie user feign ribbon |
|
42 | 16 |
|
43 |
| -## 主机规划: |
| 17 | +## List: |
44 | 18 |
|
45 |
| -| 项目名称 | 端口 | 描述 | URL | |
46 |
| -| ---------------------------------------- | ---- | ---------------------- | --------------- | |
47 |
| -| microservice-api-gateway | 8050 | API Gateway | 详见文章 | |
48 |
| -| microservice-config-client | 8041 | 配置服务的客户端 | 详见文章 | |
49 |
| -| microservice-config-server | 8040 | 配置服务 | 详见文章 | |
50 |
| -| microservice-consumer-movie-feign | 8020 | Feign Demo | /feign/1 | |
51 |
| -| microservice-consumer-movie-feign-with-hystrix | 8021 | Feign Hystrix Demo | /feign/1 | |
| 19 | +| ProjectName | Port | Description | URL | |
| 20 | +| ---------------------------------------- | ---- | ---------------------- | --------------- | |
| 21 | +| microservice-api-gateway | 8050 | API Gateway | | |
| 22 | +| microservice-config-client | 8041 | config | | |
| 23 | +| microservice-config-server | 8040 | config | | |
| 24 | +| microservice-consumer-movie-feign | 8020 | Feign Demo | /feign/1 | |
| 25 | +| microservice-consumer-movie-feign-with-hystrix | 8021 | Feign Hystrix Demo | /feign/1 | |
52 | 26 | | microservice-consumer-movie-feign-with-hystrix-stream | 8022 | Hystrix Dashboard Demo | /feign/1 |
|
53 |
| -| microservice-consumer-movie-ribbon | 8010 | Ribbon Demo | /ribbon/1 | |
54 |
| -| microservice-consumer-movie-ribbon-with-hystrix | 8011 | Ribbon Hystrix Demo | /ribbon/1 | |
55 |
| -| microservice-discovery-eureka | 8761 | 注册中心 | / | |
56 |
| -| microservice-hystrix-dashboard | 8030 | hystrix监控 | /hystrix.stream | |
57 |
| -| microservice-hystrix-turbine | 8031 | turbine | /turbine.stream | |
58 |
| -| microservice-provider-user | 8000 | 服务提供者 | /1 | |
59 |
| -| | | | | |
60 |
| - |
61 |
| - |
62 |
| - |
| 27 | +| microservice-consumer-movie-ribbon | 8010 | Ribbon Demo | /ribbon/1 | |
| 28 | +| microservice-consumer-movie-ribbon-with-hystrix | 8011 | Ribbon Hystrix Demo | /ribbon/1 | |
| 29 | +| microservice-discovery-eureka | 8761 | Register Center | / | |
| 30 | +| microservice-hystrix-dashboard | 8030 | hystrix | /hystrix.stream | |
| 31 | +| microservice-hystrix-turbine | 8031 | turbine | /turbine.stream | |
| 32 | +| microservice-provider-user | 8000 | | /1 | |
| 33 | +| | | | | |
63 | 34 |
|
64 | 35 |
|
65 |
| -## 实体书《Spring Cloud与Docker微服务架构实战》上市啦! |
66 | 36 |
|
67 |
| -* 京东购书地址: |
68 | 37 |
|
69 |
| - |
70 | 38 |
|
0 commit comments