20 lines
549 B
Markdown
20 lines
549 B
Markdown
|
# 基于 Spring Boot Starter 开发微服务应用
|
||
|
|
||
|
基于 Apache Zookeeper 注册中心(仅限于测试环境)
|
||
|
|
||
|
```she
|
||
|
Windows:
|
||
|
git clone --depth=1 --branch master git@github.com:apache/dubbo-samples.git
|
||
|
cd dubbo-samples
|
||
|
./mvnw.cmd clean compile exec:java -pl tools/embedded-zookeeper
|
||
|
|
||
|
Linux / MacOS:
|
||
|
git clone --depth=1 --branch master git@github.com:apache/dubbo-samples.git
|
||
|
cd dubbo-samples
|
||
|
./mvnw clean compile exec:java -pl tools/embedded-zookeeper
|
||
|
|
||
|
Docker:
|
||
|
docker run --name some-zookeeper -p 2181:2181 --restart always -d zookeeper
|
||
|
```
|
||
|
|