Building and deploying a sample application

In this section, we will deploy a standard Hello World application to GAE. Luckily, the engineers at Google have our back, and we can use some sample code. For the next build and deploy stage in this process, we will examine this sample code.

To commence the process, follow these steps:

  1. Open a Cloud Shell window in your project and clone the sample code for App Engine from the Google Cloud repository.
If you ever need to code an application on Google Cloud, it is more efficient to check the Google sample repository first to see whether the sample code exists as a template.
  1. From the open Cloud Shell window, enter the following on the command line:
git clone https://github.com/GoogleCloudPlatform/python-docs-samples ...

Get Hands-On Serverless Computing with Google Cloud now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.