https://cloud.google.com/shell/docs/using-web-preview#previewing_the_application code example

Example 1: https://cloud.google.com/shell/docs/using-web-preview#previewing_the_application

cd `mktemp -d` \
    && echo '<html><body>Hello World</body></html>' >./index.html \
    && python -m SimpleHTTPServer 8080

Example 2: https://cloud.google.com/shell/docs/using-web-preview#previewing_the_application

git clone https://github.com/GoogleCloudPlatform/appengine-guestbook-python \
    && cd appengine-guestbook-python \
    && dev_appserver.py ./app.yaml