How to host a rails web application [closed]

a 夏天 提交于 2020-01-01 03:37:12

问题


I have developed a nifty web application using rails and would like to host it. Unfortunately I'm unsure how i can cheaply host my application. I'm aware of various deployment tools like capistrano and I've also herd of Heroku. I presume these tools help in hosting.

However can anyone provide me the steps to host a web app in details esp using rails and what all options i can have for doing it?


回答1:


EDIT

It has been pointed out to me that a link in my answer does no longer work. Which is not that surprising, since this is a 3 year old answer. Because It seems like people are still stumbling on this answer, I would like to redirect people to this page:

https://gorails.com/deploy/ubuntu/16.04

It should have all the information you need to deploy a rails application.

End EDIT

I recommend that you check out

http://rubyonrails.org/deploy

to start with.

And also http://www.cloudfoundry.com/ and https://www.engineyard.com/

are both great hosts for any rails application, and they also have some pretty easy to follow step-by-step tutorials on how to do so.

As Leito mentioned Heroku in his answer, I would like to point you to http://www.codeschool.com/code_tv/heroku

If you choose Heroku as your host, you could check out that video as it shows you how to deploy a simple rails application.




回答2:


Heroku is the easiest in my opinion, I recommend you start here https://devcenter.heroku.com/articles/rails3

Heroku is more an application hosting and uses git to deploy your app, so no need of capistrano or similar tools.



来源:https://stackoverflow.com/questions/15373856/how-to-host-a-rails-web-application

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!