From cea628c350dfc5164f921200486b1834c5350451 Mon Sep 17 00:00:00 2001 From: dayhaha <18800111918@163.com> Date: Fri, 16 Dec 2016 12:47:24 +0800 Subject: [PATCH] check grammar etc. --- .../build_and_install/docker_install_en.rst | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/getstarted/build_and_install/docker_install_en.rst b/doc/getstarted/build_and_install/docker_install_en.rst index a429ade9f2a..7633bf4d576 100644 --- a/doc/getstarted/build_and_install/docker_install_en.rst +++ b/doc/getstarted/build_and_install/docker_install_en.rst @@ -12,7 +12,7 @@ of your hardware resource on Mac OS X and Windows. Development Using Docker ------------------------ -Develpers can work on PaddlePaddle using Docker. This allows +Developers can work on PaddlePaddle using Docker. This allows developers to work on different platforms -- Linux, Mac OS X, and Windows -- in a consistent way. @@ -22,11 +22,19 @@ The general development workflow with Docker and Bazel is as follows: .. code-block:: bash - git clone --recursive https://github.com/paddlepaddle/paddle + git clone --recursive https://github.com/PaddlePaddle/Paddle.git Here **git clone --recursive is required** as we have a submodule `warp-ctc `_. + If you have used :code:`git clone https://github.com/PaddlePaddle/Paddle` and find that the directory :code:`warp-ctc` is + empty, please use the following command to get the submodule. + + .. code-block:: bash + + git submodule update --init --recursive + + 2. Build a development Docker image :code:`paddle:dev` from the source code. This image contains all the development tools and dependencies of PaddlePaddle. @@ -154,7 +162,7 @@ source code: .. code-block:: bash cd ~ - git clone github.com/PaddlePaddle/Paddle + git clone https://github.com/PaddlePaddle/Paddle.git cd Paddle git submodule update --init --recursive docker build --build-arg WITH_AVX=OFF -t paddle:cpu-noavx -f paddle/scripts/docker/Dockerfile . @@ -170,7 +178,7 @@ generated using `woboq code browser for users to browse and understand the C++ source code. As long as we give the Paddle Docker container a name, we can run an -additional nginx Docker container to serve the volume from the Paddle +additional Nginx Docker container to serve the volume from the Paddle container: .. code-block:: bash -- GitLab