In this part of this chapter, we will be deploying the helloworld application through the gcloud command line. First, we need to have created a GCP project through the Manage resources page, enabled the Cloud Function API as a prerequisite, and, most importantly, to have installed the gcloud SDK locally:
- Let's update the gcloud components. Go to your Command Prompt and add the following command. You will be prompted to install components using the gcloud beta commands. Go ahead and install them. The gcloud selected components will be installed and configured locally:
$ gcloud components update && gcloud components install beta