简体   繁体   中英

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). 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. 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. Is there a similar method/hosting site available for apps built on the MEAN stack?

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:

  • RedHat OpenShift provides a free tier with plenty of functionality.
  • Heroku 's "free" package might also work if you're just testing. However, your container will go to "sleep" after 30 minutes of inactivity.

Be prepared, that both options require some effort on getting things rolling (steps are different than simply FTPing some files). But at least Heroku provides some quick start instructions (RedHat probably too, but I haven't checked)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM