format of dev-env-build doc
Project: http://git-wip-us.apache.org/repos/asf/incubator-griffin/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-griffin/commit/29dbbb70 Tree: http://git-wip-us.apache.org/repos/asf/incubator-griffin/tree/29dbbb70 Diff: http://git-wip-us.apache.org/repos/asf/incubator-griffin/diff/29dbbb70 Branch: refs/heads/griffin-0.2.0-incubating-rc4 Commit: 29dbbb701ab5e2a8a1f5530ee5eebd8e94ae4bf5 Parents: 7f61319 Author: Lionel Liu <[email protected]> Authored: Mon Apr 9 14:08:31 2018 +0800 Committer: Lionel Liu <[email protected]> Committed: Mon Apr 9 14:08:31 2018 +0800 ---------------------------------------------------------------------- griffin-doc/dev/dev-env-build.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-griffin/blob/29dbbb70/griffin-doc/dev/dev-env-build.md ---------------------------------------------------------------------- diff --git a/griffin-doc/dev/dev-env-build.md b/griffin-doc/dev/dev-env-build.md index 6d842ae..fc981cb 100644 --- a/griffin-doc/dev/dev-env-build.md +++ b/griffin-doc/dev/dev-env-build.md @@ -32,7 +32,7 @@ For [Batch mode](../docker/griffin-docker-guide.md#how-to-use-griffin-docker-ima ## Run or Debug at local ### For service module If you need to develop the service module, you need to modify some configuration in the following files. -Docker host is your machine running the docker containers, which means if you install docker and run docker containers on 1.2.3.4, the <docker host ip> is 1.2.3.4. +Docker host is your machine running the docker containers, which means if you install docker and run docker containers on 192.168.100.100, then the `<docker host ip>` is 192.168.100.100. In service/src/main/resources/application.properties ``` @@ -92,7 +92,7 @@ cd ~/service ps -ef | grep service.jar kill -9 <pid of service.jar> ``` -2. Service and ui module are both packaged in service/target/service-<version>.jar, copy it into your docker container. +2. Service and ui module are both packaged in `service/target/service-<version>.jar`, copy it into your docker container. ``` docker cp service-<version>.jar <griffin docker container id>:/root/service/service.jar ``` @@ -104,7 +104,7 @@ nohup java -jar service.jar > service.log & Now you can follow the service log by `tail -f service.log`. ### For measure module -1. Measure module is packaged in measure/target/measure-<version>.jar, copy it into your docker container. +1. Measure module is packaged in `measure/target/measure-<version>.jar`, copy it into your docker container. ``` docker cp measure-<version>.jar <griffin docker container id>:/root/measure/griffin-measure.jar ``` @@ -141,4 +141,4 @@ griffin: 5. Now you can run your new griffin docker image. ``` docker-compose -f <docker-compose file> up -d -``` \ No newline at end of file +```
