Skip to content

Commit 82764fd

Browse files
committed
update
1 parent 8b15be6 commit 82764fd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paddle/scripts/docker/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,14 +170,14 @@ kubectl ...
170170
### Reading source code with woboq codebrowser
171171
For developers who are interested in the C++ source code, please use -e "WOBOQ=ON" to enable building C++ source code into HTML pages using [Woboq codebrowser](https://github.com/woboq/woboq_codebrowser).
172172

173-
- The following command will generate woboq HTML pages in a docker volume directory, `$HOME/nginx` directory will be created on your local disk when the build finishes.
173+
- The following command builds PaddlePaddle, generates HTML pages from C++ source code, and writes HTML pages into `$HOME/woboq_out` on the host:
174174

175175
```bash
176-
docker run -v $PWD:/paddle -v $HOME/nginx:/woboq_out -e "WITH_GPU=OFF" -e "WITH_AVX=ON" -e "WITH_TEST=ON" -e "WOBOQ=ON" paddle:dev
176+
docker run -v $PWD:/paddle -v $HOME/woboq_out:/woboq_out -e "WITH_GPU=OFF" -e "WITH_AVX=ON" -e "WITH_TEST=ON" -e "WOBOQ=ON" paddle:dev
177177
```
178178

179-
- Open the generated static files in a browser, or upload these files to your web server. You can run nginx server as the following command, and then hit "http://<hostip>:8080/paddle" in browser.
179+
- You can open the generated HTML files in your Web browser. Or, if you want to run a Nginx container to serve them for a wider audience, you can run:
180180

181181
```
182-
docker run -v $HOME/nginx:/usr/share/nginx/html -d -p 8080:80 nginx
182+
docker run -v $HOME/woboq_out:/usr/share/nginx/html -d -p 8080:80 nginx
183183
```

0 commit comments

Comments
 (0)