[英]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.