Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/google-app-engine/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Google app engine 将静态web项目部署到google云中_Google App Engine_Google Cloud Platform - Fatal编程技术网

Google app engine 将静态web项目部署到google云中

Google app engine 将静态web项目部署到google云中,google-app-engine,google-cloud-platform,Google App Engine,Google Cloud Platform,如何将静态web项目部署到google云中,我正在使用eclipse并创建了静态web项目,我想从eclipse将其部署到google云中,我创建了一个google web项目,但它是动态的,但我需要作为静态web应用程序部署。有没有办法将静态web应用程序部署到google app engine中?附加我的静态页面,我需要转换成谷歌应用程序引擎格式 创建一个新的谷歌云模块。将所有代码放在src\main\webapp文件夹中 将其添加到web.xml文件中- <welcome-file-

如何将静态web项目部署到google云中,我正在使用eclipse并创建了静态web项目,我想从eclipse将其部署到google云中,我创建了一个google web项目,但它是动态的,但我需要作为静态web应用程序部署。有没有办法将静态web应用程序部署到google app engine中?附加我的静态页面,我需要转换成谷歌应用程序引擎格式


创建一个新的谷歌云模块。将所有代码放在
src\main\webapp
文件夹中 将其添加到
web.xml
文件中-

<welcome-file-list>
    <welcome-file>home.html</welcome-file>
</welcome-file-list>

home.html

web.xml
文件位于
webapp\web-INF
文件夹中。

1-按照以下指南将Google云存储桶配置为具有域的静态网站


2-将白皮书作为对象上载到新的Google云存储桶中,以便在web上使用,如上所述。

只需创建一个新的AppEngine项目,并将WebContent中的所有内容放入/src/main/webapp您是否尝试过在Google云中部署静态web项目?这方面有很多资源。你甚至可以使用。