how to download, edit, upload my app simply with gcloud?

697 views
Skip to first unread message

saintthor

unread,
Jul 30, 2016, 12:01:54 PM7/30/16
to Google App Engine
it seems appcfg.py does not work any longer. i see the cloud shell.

maybe i can upload the code with command

gcloud preview app deploy

but, how to download my exist codes from my app engine first?

Nick (Cloud Platform Support)

unread,
Aug 2, 2016, 1:37:19 PM8/2/16
to Google App Engine
Hey Saintthor,

"gcloud app deploy" has gone out of beta into general availability as the recommended method to deploy apps. You can read the documentation here.

As far as downloading the app's code, you can use the gcloud source command tree if you have your code in the Cloud Source Repo for the project.

If you're the original developer, you could also have a copy of the code somewhere else. 

Finally, you can still use the "appcfg download_app" command to download the source from a deployed app.

I hope this has helped. Let me know if you have any questions!

Cheers,

Nick
Cloud Platform Community Support

saintthor

unread,
Aug 2, 2016, 10:30:24 PM8/2/16
to Google App Engine
thank you for reply.

and, where can i get the newest version of appcfg.py? i used to find it at http://appengine.google.com/, but the page changed now.

saintthor

unread,
Aug 6, 2016, 1:34:22 PM8/6/16
to Google App Engine
hi, Nick,

i try to download the files with appdfg failed. is there any idea?

 python appcfg.py download_app -A guideep ./guideep
05:25 PM Host: appengine.google.com
05:25 PM Fetching file list...
Email: saintthor
Password for saintthor:
Error 404: --- begin server output ---
https://developers.google.com/accounts/docs/AuthForInstalledApps
--- end server output ---


在 2016年8月3日星期三 UTC+8上午1:37:19,Nick (Cloud Platform Support)写道:

saintthor

unread,
Aug 8, 2016, 5:28:01 AM8/8/16
to Google App Engine
it is done.

it is so hard to use only after sevral monthes.

在 2016年8月7日星期日 UTC+8上午1:34:22,saintthor写道:

Nick (Cloud Platform Support)

unread,
Aug 8, 2016, 4:15:18 PM8/8/16
to Google App Engine
Hey SaintThor,

Apologies for the late reply. I can see that you got it to download after all. Is there any additional assistance I can provide? To follow-up on your prior question, the latest version can be found at https://cloud.google.com/appengine/downloads, as appcfg is bundled with the App Engine SDK.

Sincerely,


Nick
Cloud Platform Community Support

Reply all
Reply to author
Forward
0 new messages