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.
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.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With