![]() It tells you there’s currently no project set and that you can set one by running gcloud config set project with a project ID.Ġ4:47 Now you’ll need the project ID that you noted earlier. If you see this message, then the authentication was successful.Ġ4:33 You can also see the command-line program again offers you helpful information about your next step. After you do this, you can return to your terminal, where you’ll see some information about the authentication process. Complete the process by selecting the appropriate Google account in the browser window and granting Google Cloud SDK the necessary privileges. So type that into the terminal now.Ġ4:07 This will start the authentication process by generating a validation URL and opening it up in your browser. The error message provided you with the command you need to run, gcloud auth login. #Install google app engine sdk python codeOpen up your terminal, navigate to your project folder, and then try running that command.Ġ3:33 When you execute this command without any previous setup, the program will respond with an error message.Ġ3:43 You received this error message because you can’t deploy any code to your Google App Engine account unless you prove to Google that you’re the owner of that account.Ġ3:50 You’ll need to authenticate with your Google App Engine account from your local computer. You may have noticed on the Google App Engine website that there was a suggested command, gcloud app deploy. This program comes with helpful instructions that guide you through deploying your web app. When you get to this page, it means you’ve completed setting up a new project on Google App Engine.Ġ2:59 You’re now ready to head back to the terminal on your computer and complete the local steps necessary to deploy your app to this project.Ġ3:07 After successfully installing the Google Cloud SDK, you have access to the gcloud command-line interface. Since the project is empty so far, the page will look similar to what’s seen on-screen. It’s located under SERVERLESS.Ġ2:37 Now, select Dashboard in the next pop-up list.Ġ2:44 This will redirect you to the App Engine dashboard of your new project. Note that you may need to expand to see all products. You can do that by clicking the hamburger menu on the top left.Ġ2:21 Next, scroll down to select App Engine in the first list. It should look similar to what you see on-screen.Ġ2:10 From here, you want to switch to the dashboard of Google App Engine. This will redirect you to the main page of your new Google Cloud Platform project. Go ahead and do that by clicking SELECT PROJECT. Once that’s done, a notification will pop up telling you that a new project has been created.Ġ1:55 It also gives you the option to select it. Note that as the project ID needs to be unique, your number will be different than the one shown in this course.Ġ1:44 Next, click CREATE and wait for the project to be set up on Google App Engine’s side. Copy your personal project ID since you’ll need it later on for deploying. The project ID consists of the name you entered and a number that Google App Engine adds. This name will appear in the URL of your application, which will look similar to the one seen on-screen at the moment.Ġ1:14 Use hello-app as the name for this project to stay consistent with the course.Ġ1:22 You can see your project ID below the Project name input field. On the top right of that modal, find the NEW PROJECT button and click it.Ġ1:01 Clicking NEW PROJECT will redirect you to a new page where you can decide on a name for your project. This will pop up a modal containing a list of your current Google projects.Ġ0:50 The list may be empty if you haven’t created any projects yet. Navigate to the dashboard view, where you’ll see a toolbar at the top of the window, as seen on-screen.Ġ0:42 Select the downward-facing arrow button towards the left side of the toolbar. The project name used in this course is hello-app.Ġ0:32 Start by signing in to the Google Cloud Platform. You can compare what you see on the screen with what you see in your browser. But first, your code needs a place to live on Google’s servers, and you need to make sure that it gets there safely.Ġ0:13 In this section of the course, you’ll work on completing the necessary deployment setups both in the cloud and locally. 00:04 It’s finally time to bring your app online. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |