zhengyangyong commented on a change in pull request #47: General development
dir translation and include img
URL:
https://github.com/apache/incubator-servicecomb-docs/pull/47#discussion_r215147800
##########
File path:
java-chassis-reference/en_US/general-development/local-develop-test.md
##########
@@ -24,65 +24,68 @@
<div class="tab-content">
<div id="windows" class="tab-pane active" markdown="1">
- 1.
下载[服务注册中心可执行文件压缩包](http://apache.org/dyn/closer.cgi/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0-m1/apache-servicecomb-incubating-service-center-1.0.0-m1-windows-amd64.tar.gz)
- 2. 解压缩到当前文件夹
- 3. 进入解压缩后的目录,然后双击运行**start-service-center.bat**文件
- </div>
- <div id="linux" class="tab-pane fade" markdown="1">
- 1. 下载服务注册中心可执行文件压缩包并解压缩
+ (1) Download the [Service Registry Executable Compressor]
(http://apache.org/dyn/closer.cgi/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0-m1/apache-servicecomb-
Incubating-service-center-1.0.0-m1-windows-amd64.tar.gz)
+ (2) Extract to the current folder
+ (3) Go to the unzipped directory and double-click to run the
**start-service-center.bat** file.
+
+ </div>
+ <div id="linux" class="tab-pane fade" markdown="1">
+ 1) Download the Service Registry executable file archive and extract it
```bash
wget
http://apache.org/dyn/closer.cgi/incubator/servicecomb/incubator-servicecomb-service-center/1.0.0-m1/apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64.tar.gz
tar xvf
apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64.tar.gz
- ```
- 2. 运行服务注册中心
- ```bash
- bash
apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64/start-service-center.sh
- ```
-
-
注意:前端(frontend)在Linux环境下默认会绑定ipv6地址,导致浏览器报错,修复办法为:先修改conf/app.conf中的httpaddr为外部可达网卡ip,之后修改app/appList/apiList.js中`ip
: 'http://127.0.0.1'`为对应ip,最后重启ServiceCenter即可。
-
- </div>
- </div>
+ ```
+ 2) Run the service registry
+ ```bash
+ Bash
apache-servicecomb-incubating-service-center-1.0.0-m1-linux-amd64/start-service-center.sh
+ ```
+
+ Note: The frontend (frontend) will be bound to the ipv6 address by default
in the Linux environment, causing the browser to report an error. The repair
method is: first modify the httpaddr in conf/app.conf to the external reachable
network card ip, and then modify the app/appList/apiList. .js `ip :
'http://127.0.0.1'` for the corresponding ip, and finally restart ServiceCenter.
+
+ </div>
+ </div>
- 注意:Window和Linux版本均只支持64位系统。
+ Note: Both Windows and Linux versions only support 64-bit systems.
-2. 以Docker的方式运行
+2. Run as Docker
```bash
-docker pull servicecomb/service-center
-docker run -d -p 30100:30100 servicecomb/service-center:latest
+Docker pull servicecomb/service-center
Review comment:
Docker是小写docker
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services