diff --git a/04-Account-Setup/cloud_shell_and_editor/simple-http-server-web-preview.txt b/04-Account-Setup/cloud_shell_and_editor/simple-http-server-web-preview.txt index d680eb7..7529c1e 100644 --- a/04-Account-Setup/cloud_shell_and_editor/simple-http-server-web-preview.txt +++ b/04-Account-Setup/cloud_shell_and_editor/simple-http-server-web-preview.txt @@ -1,11 +1,13 @@ SimpleHTTPServer example Initialize Cloud Shell +Maybe you will have to install SimpleHTTPServer in your Cloud Shell terminal, use this command: +"python3 -m pip install simple_http_server" (https://pypi.org/project/simple-http-server/) Copy and paste this python code right into the Cloud Shell cd `mktemp -d` \ && echo '

Hello World

' >./index.html \ - && python -m SimpleHTTPServer 8080 + && python3 -m http.server 8080 Hit Enter Click on the "Web Preview" button