Answer the question
In order to leave comments, you need to log in
How to quickly deploy rails + nginx with capistrano 3?
Hey! Already clambered a bunch of articles on Habré and in Google. There are no intelligible docks on capistrano. We need to deploy the project very quickly. Preferably with 0 downtime deploy. And, if necessary, foreman.
Tell me how best to do this? The points. For well, there is no way out to overcome this monster =)
Answer the question
In order to leave comments, you need to log in
There are three options for this:
1) Nginx + Passenger. Put it on the server separately, and post the code capistrano. But, in my opinion, this is only a paid version of the passenger can
2) Nginx + Unicorn in this case, you need to run unicorn separately, you can use eye / foreman. He knows how to restart workers on USR2
3) Use heroku. Everything will work here by git push
I once wrote a long time ago, but it is still relevant and still works how to deploy a full stack of RVM + MySQL + Ruby + Unicorn + NGINX + Capistrano - ufacode.ru/blog/linux/1100.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question