

Next we're gonna go ahead and make another file called app.yaml, which is going to contain the configuration information we need to deploy to App Engine.Īll right and now I can go ahead and open up a terminal window.

Great, and from this point on I'm going to switch to Visual Studio Code so we get a better understanding of what's going on.Īll right, I'm here in Visual Studio Code in my empty repo and the first thing I'm gonna do is go ahead and create a file called main.py and we'll go ahead and put some code in there. All right, now that that's done I will go ahead and clone it. To get started with a Cloud Source Repository, I'm going to go ahead and enter gcloud source repos create hello-world and this is going to create a repository for me called hello-world. So if you haven't done that, go ahead and enable billing on this project. So I'm back here in my terminal and before we start it's worth mentioning that billing does have to be enabled on this project in order for this next step to work. In this demo, we'll go over how to create a Cloud Source Repository and push code into it. That means that you can build automated deployments and other integrations using any tools on GCP. The biggest benefit of a Cloud Source Repository is that they also integrate with all of Google's developer services, such as Cloud Build, Pub/Sub, and Stackdriver. All you need to do is sync it with the external repository, and any changes that get made outside of your Cloud Source Repository will be replicated in it. If you are already using one of those services for version control, you don't have to give it up to use a Cloud Source Repository. To get the most out of this course, you should be fluent in at least one programming language and have s ome experience with Docker and Kubernetes.Ī Cloud Source Repository is a private Git repo that is hosted and managed on GCP instead of GitHub, Bitbucket, or another vendor.


Google Cloud Platform (GCP) is a powerful platform that brings the flexibility and reliability of Google’s infrastructure to your projects.
