Browse Source

Merge pull request #668 from christophercurrie/patch-1

- Documentation: Fix typos in the python web app example docs.
Ken Cochrane 12 years ago
parent
commit
1ccc7bdd90
1 changed files with 3 additions and 3 deletions
  1. 3 3
      docs/sources/examples/python_web_app.rst

+ 3 - 3
docs/sources/examples/python_web_app.rst

@@ -40,7 +40,7 @@ We attach to the new container to see what is going on. Ctrl-C to disconnect
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    BUILD_IMG=$(docker commit $BUILD_JOB _/builds/github.com/hykes/helloflask/master)
+    BUILD_IMG=$(docker commit $BUILD_JOB _/builds/github.com/shykes/helloflask/master)
 
 
 Save the changed we just made in the container to a new image called "_/builds/github.com/hykes/helloflask/master" and save the image id in the BUILD_IMG variable name.
 Save the changed we just made in the container to a new image called "_/builds/github.com/hykes/helloflask/master" and save the image id in the BUILD_IMG variable name.
 
 
@@ -58,7 +58,7 @@ Use the new image we just created and create a new container with network port 5
 .. code-block:: bash
 .. code-block:: bash
 
 
     docker logs $WEB_WORKER
     docker logs $WEB_WORKER
-     * Running on \http://0.0.0.0:5000/
+     * Running on http://0.0.0.0:5000/
 
 
 view the logs for the new container using the WEB_WORKER variable, and if everything worked as planned you should see the line "Running on http://0.0.0.0:5000/" in the log output.
 view the logs for the new container using the WEB_WORKER variable, and if everything worked as planned you should see the line "Running on http://0.0.0.0:5000/" in the log output.
 
 
@@ -70,7 +70,7 @@ lookup the public-facing port which is NAT-ed store the private port used by the
 
 
 .. code-block:: bash
 .. code-block:: bash
 
 
-    curl \http://`hostname`:$WEB_PORT
+    curl http://`hostname`:$WEB_PORT
       Hello world!
       Hello world!
 
 
 access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.
 access the web app using curl. If everything worked as planned you should see the line "Hello world!" inside of your console.