简体   繁体   English

我的App Engine项目是否需要一个app.yaml?

[英]Do I need an app.yaml for my App Engine project?

I keep reading in App Engine references about configuration directives that go into app.yaml, such as 'DBG_ENABLE'. 我一直在阅读App Engine参考资料,了解app.yaml中的配置指令,例如“ DBG_ENABLE”。 But I can't find this file in my Android Studio created GAE project. 但是我在Android Studio创建的GAE项目中找不到此文件。 Furthermore, I find that some of the directives in this file (for instance: Scaling) also have equivalent in appengine-web.xml. 此外,我发现该文件中的某些指令(例如:Scaling)在appengine-web.xml中也具有相同的指令。

So, what's the deal with this yaml file - do I need to create it? 那么,这个yaml文件处理了什么-我需要创建它吗? Where? 哪里?

There is no app.yaml file created by Android studio, because usually you use Java Serverlet to implement the App Engine Application under Android Studio, it uses the /WEB-INF/appengine-web.xml file to configure the project. Android Studio没有创建app.yaml文件,因为通常您使用Java Serverlet在Android Studio下实现App Engine应用程序,因此它使用/WEB-INF/appengine-web.xml文件来配置项目。

The app.yaml file is used for the App Engine Project using Python, Go and PHP. app.yaml文件用于使用Python,Go和PHP的App Engine项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM