Can i update code in my GAE application (test1.appspot.com) through my second GAE application (test2.appspot.com)?

66 views
Skip to first unread message

Денис Тимонин

unread,
May 22, 2012, 5:08:22 AM5/22/12
to google-a...@googlegroups.com
For example, i have 2 GAE applications. First is test1.appspot.com and the second is test2.appspot.com.
And i want to update code of my "test2.appsopt.com" application, through "test1.appspot.com" application.

In first appIication ("test1") i want to select file "helloworld.py"(with new code version) using form (<form enctype="multipart/form-data" >) , and then i want to upload/update this file into test2.appspot.com ( update the old version of the code, in my application, to the new).
Can i do this?
What should I do to make it?
Sorry for my english)

alex

unread,
May 22, 2012, 5:27:35 AM5/22/12
to google-a...@googlegroups.com
I guess you'll need to dive in the SDK code of how "appcfg.py update" is implemented. It even supports OAuth2 now. I believe appcfg.py creates a staging dir during the update, so your challenge will probably be in figuring out how to do that with a "read-only" filesystem (blobs? in memory?)

Note that you probably won't be able to update a single file out of your application. It's all or nothing.
Reply all
Reply to author
Forward
0 new messages