diff --git a/doc/httptut.rst b/doc/httptut.rst index faf74ab..fc70a2b 100644 --- a/doc/httptut.rst +++ b/doc/httptut.rst @@ -59,9 +59,7 @@ Then we will write the simple python script which would make this work:: uri, = sock.recv_multipart() sock.send_multipart([b'Hello from '+uri]) -This is everything which is needed to serve requests. -Note we are connecting to the address you specified to bind to in zerogw.yaml. -Next start zerowg and use -c for the configuration file we want to use: +Next start ther zerowg server and use -c for the configuration file we have written: ``zerogw -c ./zerogw.yaml`` @@ -69,6 +67,9 @@ Open a new terminal and start your python script: ``python ./ourserver.py`` +This is everything which is needed to serve requests. +Note we are connecting to the address you specified to bind to in zerogw.yaml. + Now you can go to the browser at http://localhost:8080/ and you should see ``Hello from /``.