From deb83a7f1524b51fc720c43ad56709ad37ce2888 Mon Sep 17 00:00:00 2001 From: Helin Wang Date: Wed, 13 Sep 2017 15:36:09 -0700 Subject: [PATCH] refine documentation --- mnist-client/README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/mnist-client/README.md b/mnist-client/README.md index 7e91e85..1bc4390 100644 --- a/mnist-client/README.md +++ b/mnist-client/README.md @@ -43,9 +43,14 @@ PaddlePaddle. Please see [here](TODO) for more details. ### Start the Front End 1. Run the following command - ```bash - docker run -it -p 5000:5000 paddlepaddle/book:mnist - ``` + ```bash + docker run -it -p 5000:5000 -e BACKEND_URL=http://localhost:8000/ paddlepaddle/book:mnist + ``` + + `BACKEND_URL` in the above command specifies the inference server + endpoint. If you started the inference server on another machine, + or want to visit the front end remotely, you may want to change its + value. 1. Visit http://localhost:5000 and you will see the PaddlePaddle MNIST demo. -- GitLab