Ruby on Rails Wednesday, July 31, 2013

On Jul 29, 2013, at 8:53 AM, southierobert@gmail.com wrote:
> With PHP applications (only experience I had before), all I needed to do is to FTP all required files, create MySQL username/pass & upload SQL structure, add this username/pass in any given config file of the php script and the app worked.

Yes, deploying PHP is quite simple compared to Rails.

> Can you tell me what are standard/proper steps required to deploy an app that I worked on my local Ubuntu machine and want to have it working on 'standard' web hosting company that does not specialize in Rails app hosting?

I don't have anything written (which I should) but just googling around, here's a few:

* http://blog.sudobits.com/2013/01/07/how-to-deploy-rails-application-to-vps/
* http://rubysource.com/deploying-a-rails-application/
* http://tommy.chheng.com/2013/01/23/deploying-a-rails-app-on-nginxpuma-with-capistrano/

There's also a pragprog book: http://pragprog.com/book/cbdepra/deploying-rails which I haven't read.

If you hosting solution does not offer shell access, it's going to be very difficult, I think to do an effective deploy. Even moreso if your application requires gems that need to have native extensions compiled.

There are some great Rails-hosting PaaS out there: heroku, EngineYard, CloudFront, etc.

My most recent job, we used AWS to host our app, and deployed using Chef (opscode.com) which was really nice to work with.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/693B196C-FC17-453D-8703-206D63FC2DE6%40gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment