本文介绍了通常通过ssh将appengine项目放在服务器的文件系统中的什么位置?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个基于Java的标准Web应用程序,并且有人想要查看它,并可能通过ssh更改文件或添加文件.但是我们无法在Google的云外壳中找到appengine项目的项目文件夹.那么,app引擎项目文件通常位于何处?

I have a standard java based web application and I have someone who wants to take a look at it and possibly change a file or add a file via ssh. But we cannot locate the project folder of the appengine project in Google's cloud shell. So where exactly are app engine project files normally located?

推荐答案

您无法直接从云外壳中访问应用程序的文件,因为云外壳程序与应用程序代码不在同一实例上运行.

You cannot directly access the app's files from the cloud shell because the cloud shell doesn't run on the same instance as your app code.

在标准环境中,您也无法访问执行应用程序代码的实际实例(这是在可能的环境中),另请参见.

In the standard environment you also can't access the actual instance executing the app code (this is possible in the flexible environment), see also Accessing Google App Engine Python App code in production.

如.从该查看器中,StackDriver还允许调试/检查实时代码:

You can view the live/deployed version of your app service code using StackDriver, as described in Google Cloud DataStore automatic indexing. From that viewer StackDriver also allows debugging/inspecting the live code:

FAIK,您无法更改实时代码,需要为此部署代码的更新版本.

AFAIK you cannot change the live code, you need to deploy an updated version of the code for that.

这篇关于通常通过ssh将appengine项目放在服务器的文件系统中的什么位置?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-30 21:23