Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any recommended Rails Deployment tutorial book? [closed]

I'm confused by Rails Deployment.

I followed this guide(https://github.com/rocodev/guides/wiki/setup-production-development) to setup environment on my server.

I have done all the installation proccess, but it doesn't work!!

When I run 'cap deploy:setup', it asked me to type password, and I typed, but it said permission denied.

I couldn't find out what the problem is, and I can't clearly know some parts of this guide.

Are there any resources(maybe a book) can give me a robust understanding about Rails Deployment?

Thank you.

like image 235
user3087000 Avatar asked Mar 21 '23 16:03

user3087000


2 Answers

There are a couple of books on Rails deployment practices:

  • Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night published by the PragProgs. Written in 2012, and focusing on Rails 3.x, but should still be mostly up to date (really nothing much has changed in the space in the last 2 years). (Or, the old versions of the tools aren't super broken and still widely used).

  • Reliably Deploying Rails Applications, published via LeanPub. 80% done as of this writing, and does incorporate the bleeding edge tools.

I haven't read the latter book, but I have read the former book and liked it reasonably well.

like image 118
RyanWilcox Avatar answered Apr 01 '23 12:04

RyanWilcox


I don't think you need to read a book on rails deployment for fixing production issues. Once you complete a book, It's not mean you able to deploy your app seamless manner. Still issue will occur and you will run to Google. We always leant form our mistakes and by fixing them.

I would suggest have a look to small blogs and tutorial.

Deploying to a VPS
HOW TO DEPLOY RAILS APPLICATION TO VPS

Setup A Ubuntu VPS For Hosting Ruby On Rails Applications

Deploying Rails to Dreamhost VPS

Capistrano Tasks

Capistrano Tasks (revised)

If you really want a deep understanding of rails development. Go ahead with below book. Deploying Rails: Automate, Deploy, Scale, Maintain, and Sleep at Night

like image 31
Pravin Mishra Avatar answered Apr 01 '23 12:04

Pravin Mishra