1

我究竟做错了什么?我正在尝试部署我的 Telescope 应用程序。我正在使用它来做到这一点:https ://github.com/arunoda/meteor-up 。当我尝试使用 Mup 进行部署时,它给了我一个错误。这是我的 mup.json 配置文件:

{
  // Server authentication info
  "servers": [
    {
      "host": "52.25.228.14",
      "username": "ec2-user",
      //"password": "password"
      // or pem file (ssh based authentication)
      "pem": "~/Documents/appname/appname.pem"
    }
  ],

  // Install MongoDB in the server, does not destroy local MongoDB on future setup
  "setupMongo": true,

  // WARNING: Node.js is required! Only skip if you already have Node.js installed on server.
  "setupNode": true,

  // WARNING: If nodeVersion omitted will setup 0.10.36 by default. Do not use v, only version number.
  "nodeVersion": "0.10.36",

  // Install PhantomJS in the server
  "setupPhantom": true,

  // Show a progress bar during the upload of the bundle to the server. 
  // Might cause an error in some rare cases if set to true, for instance in Shippable CI
  "enableUploadProgressBar": true,

  // Application name (No spaces)
  "appName": "appname",

  // Location of app (local directory)
  "app": "~/Documents/appname/Telescope",

  // Configure environment
  "env": {
    "ROOT_URL": "ec2-52-25-228-14.us-west-2.compute.amazonaws.com"
  },

  // Meteor Up checks if the app comes online just after the deployment
  // before mup checks that, it will wait for no. of seconds configured below
  "deployCheckWaitTime": 15
}
4

2 回答 2

1

常见的陷阱:

  • 确定您mup setup在部署之前运行了吗?

  • 尝试使用相对路径来设置应用程序位置,即如果您位于 Telescope 实例的根目录,则替换~/Documents/appname/Telescope为。.mup.json

于 2015-05-27T20:21:51.150 回答
0

我确实运行了 mup setup,确实使用了 http://,并多次尝试让它连接/部署。

我放弃了,只是选择了一个 Wordpress 主题,并根据我的需要定制它。另一种方法太复杂了。它不允许我及时做我想做的事。感谢您尝试提供帮助。

于 2015-05-29T14:18:32.603 回答