将Meteor App部署到自己的服务器 [英] Deploying Meteor App to own server

查看:61
本文介绍了将Meteor App部署到自己的服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个完整的流星项目,目前已部署在流星网站上.我想将其移至我自己的网站,该网站目前由GoDaddy托管.

I have a completed meteor project and is currently deployed on the meteor website. I would like to move it to my own website, which is currently hosted by GoDaddy.

如何在服务器(Linux)上安装Node和Mongo,然后运行流星项目?我已经获得了对服务器的ssh访问权限,所以我认为我可以做到这一点,但是我不确定如何做到这一点.

How do I install Node and Mongo on my server (linux) and then run my meteor project? I received ssh access to my server, so I assume I can do this, but I'm just not sure how.

那我该怎么做?

其他信息:

我不确定是什么Linux.在GoDaddy上,它只是说Linux.

I'm not exactly sure what of linux it is. On GoDaddy, it simply says linux.

当我ssh时,它向我显示:

When I ssh, it shows me:

-bash-3.2 $:

-bash-3.2$:

此外,我在我的网站上仅显示了myapp.meteor.com网页也可以使用.有关如何执行此操作的说明将起作用.

Also, I having my website simply show the myapp.meteor.com webpage would work too. An explanation on how to do this would work.

推荐答案

发现流星有一章介绍了部署这有助于回答这个问题.对于基于ubuntu的服务器,他们建议流星.我没有用过,但是可能值得一试.本书的先前版本推荐 metricic .

Discover Meteor has a chapter on deployment which helps to answer this question. For ubuntu-based servers they recommend meteor-up. I haven't used it, but it's probably worth checking out. Previous versions of the book recommended meteoric.

我使用了一些来自于Meeoric的想法编写了自己的bash脚本集,但是我已经在部署脚本方面有很多经验.坦率地说,没有什么比自己弄清楚要好得多了,但是执行sysadmin任务并不能吸引所有人,而且急忙拾起来可能很困难.

I wrote my own set of bash scripts using a few ideas from meteoric, but I already had a lot of experience doing deployment scripting. Frankly there's nothing quite like figuring it all out yourself, but doing sysadmin tasks doesn't appeal to everyone and it can be hard to pick up in a hurry.

这篇关于将Meteor App部署到自己的服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆