Google App Engine app deployment

后端 未结 5 1563
面向向阳花
面向向阳花 2021-02-08 01:08

I\'m trying to deploy a basic HelloWorld app on Google Engine following their tutorial for Python. I created a helloworld.py file and an app.yaml

相关标签:
5条回答
  • 2021-02-08 01:45

    Ok there is a MUCH easier way to do this now.

    If you are getting this message "You do not have permission to modify this app" but your id is correct within app.YAML do the following:

    Bring up the Google App Engine Launcher on your desktop Click on the control tab on the top left --> "Clear Deployment Credentials"

    Thats it!!!

    0 讨论(0)
  • 2021-02-08 01:45

    Make sure you have created a project in GAE which project ID is exactly same to your configuration in app.yaml

    workflow:

    1. Create a project in GAE and set a name
    2. At the same window you can edit the project ID
    3. copy the project ID and paste it when you create a new application in GAE launcher (or edit your app.yaml to set the value of application)
    4. deploy it and type {project-id}.appspot.com in your browser\ Good luck!
    0 讨论(0)
  • 2021-02-08 01:47

    In my case, I got refused because the appcfg save my ouauth2 token in the file ~/.appcfg_oauth2_tokens, which happen to be another account of appengine . Simply remove the file and try again. It should work. This is in Mac, I am not sure about windows though.

    0 讨论(0)
  • 2021-02-08 01:53

    App ID ( 'application:' ) in app.yaml mentioned is 'helloworld' which seems to be default for hello world app. Create a new app using: https://console.cloud.google.com/home/dashboard and use the new app ID in app.yaml.

    Please have a look at: Application for gae does not deploy that has answer to similar question for Linux platform, where we need to delete : ~/.appcfg_oauth2_tokens* to resolve the permission error.

    0 讨论(0)
  • 2021-02-08 02:05

    The application name in app.yaml is sort of like a domain name. Once someone has reserved it, no one else can use it. You need to go here, and then select "Create a project..." from the dropdown at the top of the screen. In the popup, it will suggest a project id, or you can select your own. Many project id's are taken so you will need to specify something unusual to get something that is not taken.

    You then put this project id in your app.yaml in the application line. You should then be able to upload your project.

    0 讨论(0)
提交回复
热议问题