[英]How to deploy a node.js app for testing
I just created a simple web app using the MEAN stack, and I want to host it online somewhere (I'm brand new to the MEAN stack). 我刚刚使用MEAN堆栈创建了一个简单的Web应用程序,我想将其在线托管在某个地方(我是MEAN堆栈的新手)。 I have done this with static pages (using only HTML and CSS) using other sites such as BitBalloon, but since this is my first deploy with the MEAN stack, I really don't know how to get it online.
我已经使用其他网站(例如BitBalloon)通过静态页面(仅使用HTML和CSS)完成了此操作,但是由于这是我第一次使用MEAN堆栈进行部署,所以我真的不知道如何使其联机。 I'd prefer using a free service for now since I just want to test my app, and share it with friends.
我现在想使用免费服务,因为我只想测试我的应用程序并与朋友分享。 For example, BitBalloon will give you an address like
http://stoker-neutrons-12345.bitballoon.com/
, which is perfect for testing your app, and sharing it with others. 例如,BitBalloon将为您提供一个类似于
http://stoker-neutrons-12345.bitballoon.com/
的地址,该地址非常适合测试您的应用程序并与他人共享。 Is there a similar method/hosting site available for apps built on the MEAN stack? 是否有类似的方法/托管站点可用于基于MEAN堆栈构建的应用程序?
This question will probably be closed quickly for being a "recommendation question" , which doesn't fit SO's target, but still, here are two recommendations: 由于是“推荐问题” ,该问题可能很快就会被解决 ,这不符合SO的目标,但是仍然有两个建议:
Be prepared, that both options require some effort on getting things rolling (steps are different than simply FTPing some files). 准备好,这两个选项都需要花些时间才能使事情顺利进行(步骤与简单地通过FTP传输某些文件不同)。 But at least Heroku provides some quick start instructions (RedHat probably too, but I haven't checked)
但是至少Heroku提供了一些快速入门说明(RedHat可能也是,但我没有检查)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.