How to deploy multiple Rails apps on a single server with Capistrano – Jan Matuszewski – Business-oriented engineer

04-Dec-2022 913
Almost everyone uses cloud hosting solutions like Heroku or AWS nowadays(and I don’t expect it to change even after this DHH post). But if you still self-host your apps then Capistrano would be well known to you.My client had an uncommon requirement - to deploy two versions of the same application twice on one server. We were already using Capistrano there so I started lurking how to quickly fulfil the client’s needs.Not getting into the details of why let me show you how to do it:.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle