简体   繁体   English

部署 Rails 应用程序 - 使用 Passport, Capistrano & Co 的好处?

[英]Deploying Rails apps - Benefits of using Passenger, Capistrano & Co?

On http://rubyonrails.org/deploy/ it is recommended to use Passenger, Capistrano for deployment.http://rubyonrails.org/deploy/ 上,推荐使用Passenger、Capistrano 进行部署。

Since Passenger costs 30$/month I would be interested in what are the benefits of it compared to other options.由于乘客费用为 30 美元/月,我对它与其他选项相比有什么好处感兴趣。

Can't I just buy some webspace(for about 2,3$/month) , upload my rails project and start the server in production mode?我不能只购买一些网站空间(大约 2.3 美元/月),上传我的 Rails 项目并以生产模式启动服务器吗?

Because if I just make a webpage with a bit of dynamic content & use RuR for it 30$/month would be a hard pill to swallow.因为如果我只是制作一个包含一些动态内容的网页并使用 RuR 来实现它,每月 30 美元将是一个难以下咽的药丸。

What other deployment options can you recommend?您还可以推荐哪些其他部署选项?

I have used mina for my project.我在我的项目中使用了mina It's fast deployment tools currently.目前是快速部署工具。 You will not wait long time to wait your deployment process combine with git.您不会等待很长时间来等待您的部署过程与 git 结合。 You can use mina-multistage when you have many domains based on you branch.当您有许多基于您的分支的域时,您可以使用mina-multistage I my project I use:我我使用的项目:

  • GIT for versioning code用于版本控制代码的 GIT
  • Mina for development tools Mina 开发工具
  • Nginx for server服务器端的 Nginx

I hope this can help you to make decision.我希望这可以帮助您做出决定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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