Meteor 流星应用程序不';使用mup部署后,不会出现在浏览器中
我面临着一个奇怪的问题——我用mup部署了我的Meteor应用程序(遵循以下说明:)。一切顺利(见截图) 但是,当我尝试通过浏览器访问内容时,内容不会显示(我键入IP地址) 作为服务器,我在Ubuntu 15.04上使用apache2和mup.json,如下所示:Meteor 流星应用程序不';使用mup部署后,不会出现在浏览器中,meteor,meteor-up,Meteor,Meteor Up,我面临着一个奇怪的问题——我用mup部署了我的Meteor应用程序(遵循以下说明:)。一切顺利(见截图) 但是,当我尝试通过浏览器访问内容时,内容不会显示(我键入IP地址) 作为服务器,我在Ubuntu 15.04上使用apache2和mup.json,如下所示: { // Server authentication info "servers": [ { "host": "IP_ADDRESS", "username": "developer" //"password": "pa
{
// Server authentication info
"servers": [
{
"host": "IP_ADDRESS",
"username": "developer"
//"password": "password"
// or pem file (ssh based authentication)
//"pem": "~/.ssh/id_rsa"
}
],
// Install MongoDB in the server, does not destroy local MongoDB on future setup
"setupMongo": false,
// 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": "meteor",
// Location of app (local directory)
"app": "~/app",
// Configure environment
"env": {
"PORT": 80,
"UPSTART_UID": "meteoruser",
"ROOT_URL": "http://IP_ADDRESS",//and I also tried http://localhost
//"MONGO_URL": "",
"METEOR_ENV": "production"
},
// 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
}
我将感谢任何帮助!提前谢谢
UPD:我做了更好的研究,发现了一个很棒的教程-。因此,如果还有人对如何部署Meteor应用程序感兴趣,请看一看:)您的mongodb是否使用外部服务器?我觉得该教程有点不完整。我写了一个可能更有用的(goo.gl/uQSNX9),但我不确定部署是否是您的问题。看来太空棒没有完全安装好。当您运行
mup安装程序时发生了什么?您的mongodb是否使用外部服务器?该教程对我来说似乎有点不完整。我写了一个可能更有用的(goo.gl/uQSNX9),但我不确定部署是否是您的问题。看来太空棒没有完全安装好。运行mup设置时发生了什么?