From 891dadff0578a35ac9b097f0a65fc0c39311d26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E7=9B=8A?= Date: Mon, 30 Jan 2017 13:02:07 -0800 Subject: [PATCH] Update code indentation in rst files --- doc/getstarted/build_and_install/docker_install_en.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/getstarted/build_and_install/docker_install_en.rst b/doc/getstarted/build_and_install/docker_install_en.rst index cb6723d1ff9..3a322b2159a 100644 --- a/doc/getstarted/build_and_install/docker_install_en.rst +++ b/doc/getstarted/build_and_install/docker_install_en.rst @@ -41,6 +41,7 @@ Windows -- in a consistent way. runs the image: .. code-block:: bash + docker run -d -p 2202:22 -v $PWD:/paddle paddle:dev This runs a container of the development environment Docker image @@ -53,12 +54,14 @@ Windows -- in a consistent way. this container with: .. code-block:: bash + ssh root@localhost -p 2202 Usually, I run above commands on my Mac. I can also run them on a GPU server :code:`xxx.yyy.zzz.www` and ssh from my Mac to it: .. code-block:: bash + my-mac$ ssh root@xxx.yyy.zzz.www -p 2202 1. Build and Install Using the Development Environment @@ -68,12 +71,14 @@ Windows -- in a consistent way. Paddle: .. code-block:: bash + /paddle/paddle/scripts/docker/build.sh This builds everything about Paddle in :code:`/paddle/build`. And we can run unit tests there: .. code-block:: bash + cd /paddle/build ctest -- GitLab