简体   繁体   English

将MeteorJs应用程序部署到Google App Engine

[英]Deploy MeteorJs app to Google App Engine

I've been trying to deploy a Meteor 1.4.3.2 app to Google App Engine to no avail. 我一直试图将Meteor 1.4.3.2应用程序部署到Google App Engine无济于事。

I've tried the following instructions - 我试过以下说明 -

All of which leave me with the same result - Error: Can't find npm module 'meteor-deque' 所有这些都给我留下了相同的结果 - 错误:无法找到npm模块'meteor-deque'

if I install the package manually in programs/server and try to deploy again I get - Error: Can't find npm module 'mongodb' 如果我在程序/服务器中手动安装软件包并尝试再次部署我得到 - 错误:找不到npm模块'mongodb'

So I install mongodb manually and finally get Error: Cannot find module './entry.js' 所以我手动安装mongodb,最后得到错误:找不到模块'./entry.js'

Is there any one out there that has successfully deployed a meteor 1.4.3.2 app on Google App Engine that can help me out? 是否有任何人在Google App Engine上成功部署了一个可以帮助我的meteor 1.4.3.2应用程序?

I have successfully deployed meteor 1.4+ on GCP and AWS using mup by following the directions here . 我已按照此处的说明使用mup在GCP和AWS上成功部署了meteor 1.4+。

here is a sample mup config I use /Users/dg/Projectname/.deployment/staging/mup.js The .deployment directory is next to .meteor and is hidden so it is not packaged and sent to the server with the rest of the app. 这里是一个示例mup配置我使用/Users/dg/Projectname/.deployment/staging/mup.js .deployment目录位于.meteor旁边并且是隐藏的,所以它没有打包并发送到服务器,剩下的应用程序。

 module.exports = { servers: { one: { host: '1.2.3.4', username: 'ubuntu', pem: '/Users/dg/.ssh/mypemfile.pem' } }, meteor: { name: 'appname', path: '../../', servers: { one: {} }, buildOptions: { serverOnly: true, }, env: { ROOT_URL: 'http://1.2.3.4/', MONGO_URL: 'mongodb://localhost/appname' }, dockerImage: 'abernix/meteord:base', deployCheckWaitTime: 60 }, mongo: { oplog: true, port: 27017, servers: { one: {}, }, }, }; 

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

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