因此,我正在尝试将简单的流星应用部署到Google App Engine。我试过按照这个教程https://cloud.google.com/community/tutorials/run-meteor-on-google-app-engine 但它导致 error: Can't find npm module 'meteor-deque'. Did you forget to call 'Npm.depends' in package.js within the 'meteor' package?
谷歌搜索导致了一些教程,但通过他们的评论看起来他们也是过时了。 还有这个https://medium.com/google-cloud/meteor-google-a-devops-post-b8a17f889f84 但是这是关于部署到计算引擎,所以这是一个计划B. 所以我徘徊,如果你们中的任何一个最近在流星1.4最近2017年成功地部署Meteor到GAE?你能分享一下细节吗?将流星部署到Google App Engine 2017
2
A
回答
2
感谢来自流星论坛的kiyohiko。
https://forums.meteor.com/t/deploy-meteor-to-google-app-engine-2017/36171/4
下面是我
的app.yaml
env: flex
runtime: custom
threadsafe: true
automatic_scaling:
max_num_instances: 1
env_variables:
ROOT_URL: https://<gae-app-name>.appspot.com
MONGO_URL: mongodb://<mongodb-username>:<mongodb-password>@<gce-ip>:27017/<mongodb-name>
DISABLE_WEBSOCKETS: "1"
skip_files:
- ^(.*/)?\.dockerignore$
- ^(.*/)?\npm-debug.log$
- ^(.*/)?\yarn-error.log$
- ^(.*/)?\.git$
- ^(.*/)?\.hg$
- ^(.*/)?\.svn$
工作Dockerfile
的CONFIGSFROM launcher.gcr.io/google/nodejs
RUN install_node v4.6.2
COPY . /app/
RUN (cd programs/server && npm install --unsafe-perm)
CMD node main.js
步骤部署
$> meteor build ../ --directory --architecture os.linux.x86_64 --server-only
$> cp app.yaml ../bundle/ && cp Dockerfile ../bundle/
$> cd ../bundle && gcloud app deploy --verbosity=info -q
相关问题
- 1. Babel和将Nodejs部署到Google App Engine
- 2. 如何将socket.io部署到Google App Engine?
- 3. 将playn部署到Google App Engine
- 4. TemplateNotFound部署到Google App Engine网站
- 5. 在Google App Engine上部署龙卷风
- 6. 如何将GWT App部署到Google App Engine?
- 7. 使用Mac Visual Studio将ASP.NET Core App部署到Google App Engine?
- 8. 使用mupx将流星部署配置到Google Compute Engine虚拟机
- 9. Jenkins - 推送部署到Google App Engine的部署失败
- 10. 在将Django-nonrel部署到Google App Engine时找不到页面
- 11. 部署流星应用谷歌App Engine的
- 12. 将流星/陨石部署到heroku
- 13. 无法在Google App Engine上部署Android App Engine项目
- 14. Google App Engine在部署时丢失CSS
- 15. 挂钩Google App Engine的部署
- 16. Google App Engine部署错误代码9
- 17. 在Google App Engine上部署Django项目
- 18. Python-Google App Engine中的部署错误
- 19. Google App Engine - 一个模块不部署
- 20. Google App Engine:部署失去CSS?
- 21. 在Google App Engine上部署Angular-Fullstack(MEAN)
- 22. Google App Engine开发者重新部署
- 23. 从Android Studio部署Google App Engine后端
- 24. 部署斯卡拉SBT Google App Engine的
- 25. 使用NetBeans将GWT应用程序部署到Google App Engine
- 26. 将使用angular-cli创建的Angular4(Angular)部署到Google App Engine
- 27. 无法将我的应用部署到Google App Engine
- 28. 将基本的Angular 2应用程序部署到Google App Engine
- 29. 将Sails.js应用程序部署到Google App Engine时超时
- 30. 将Angular 2应用程序部署到Google App Engine
感谢您在StackOverflow上分享。真的很感谢! –