How to set up a staging environment on Google App Engine

前端 未结 5 989
星月不相逢
星月不相逢 2020-12-04 08:45

Having properly configured a Development server and a Production server, I would like to set up a Staging environment on Google App Engine useful

5条回答
  •  鱼传尺愫
    2020-12-04 09:08

    I chose the second option in my set-up, because it was the quickest solution, and I didn't make any script to change the application-parameter on deployment yet.

    But the way I see it now, option A is a cleaner solution. You can with a couple of code lines switch the datastore namespace based on the version, which you can get dynamically from the environmental variable CURRENT_VERSION_ID as documented here: http://code.google.com/appengine/docs/python/runtime.html#The_Environment

提交回复
热议问题