How to set up a staging environment on Google App Engine

前端 未结 5 964
星月不相逢
星月不相逢 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:09

    We went with the option B. And I think it is better in general as it isolates the projects completely. So for example playing around with some of the configurations on the staging server will not affect and wont compromise security or cause any other butterfly effect in your production environment.

    As for the deployment script, you can have any application name you want in your app.yaml. Some dummy/dev name and when you deploy, just use an -A parameter:

    appcfg.py -A your-app-name update .
    

    That will simplify your deploy script quite much, no need to string replace or anything similar in your app.yaml

提交回复
热议问题