简体   繁体   English

我可以在Google Cloud Platform的Python应用程序中运行Webpack吗?

[英]Can I run Webpack in a Python app on Google Cloud Platform?

The tutorial for running Webpack on the Google Cloud Platform assumes a nodejs runtime. 在Google Cloud Platform上运行Webpack的教程假定使用nodejs运行时。 Is there a way to run it on an existing app that's running Python? 有没有办法在运行Python的现有应用程序上运行它? I'd like to start sprinkling the app with some Webpack+ React love. 我想开始在应用程序上撒些Webpack + React的爱。

GAE allows your app to have multiple modules, and there is at least some support for having different modules use different languages, but I haven't tried it myself. GAE允许您的应用程序具有多个模块,并且至少有一些支持让不同的模块使用不同的语言,但是我自己还没有尝试过。

One important question is whether you are using the "Standard Environment" or the "Flexible Environment" for your app. 一个重要的问题是您是在为应用程序使用“标准环境”还是“灵活环境”。 Node.js is only supported on the Flexible Environment. Node.js仅在灵活环境中受支持。 See here . 这里

So if you are able to use the Flexible Environment, it may be possible to have a single app with both Python and Node.js. 因此,如果您能够使用灵活环境,则可能有一个具有Python和Node.js的应用程序。 I say "may" because GAE doesn't always support all combinations with its various features. 我之所以说“可以”是因为GAE并不总是支持其各种功能的所有组合。

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

相关问题 在Google云端平台上不断运行python - Run python constantly on the Google cloud platform 如何在 Google 云平台 gcp 上托管 python 脚本? - How can I host a python script on Google cloud platform gcp? Google Cloud Platform:我如何获得使用Python将对象放入Google Cloud Store的签名URL - Google Cloud Platform: How can I get a signed URL for putting an object to Google Cloud Store with Python 在 Google Cloud Platform 上运行 Flask App(ModuleNotFoundError: No module named 'app') - Run Flask App on the Google Cloud Platform (ModuleNotFoundError: No module named 'app') 如何在Google Cloud Platform VM上运行python脚本 - How to run a python script on Google Cloud Platform VM 定期在Google Cloud Platform上运行简单的Python脚本 - Run simple Python script periodically on Google Cloud Platform 在 Google Cloud Platform 上运行和扩展简单的 python 脚本 - Run & scale simple python scripts on Google Cloud Platform 谷歌云平台 SQL 实例连接到 python 应用程序 - Google Cloud Platform SQL instance connection to python app 如何在Google Cloud Platform中为Node应用程序安装Python3 - How to install Python3 in Google Cloud Platform for a Node app 如何使用python下载谷歌云平台上文件夹内的文件? - How can i download the files inside a folder on google cloud platform using python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM