Digital Ocean Hostin Rails 4 App

This is my first time deploying a rails application, and I have no idea how to do this. I am with Digital Ocean, I have a drop of $ 5, and I have to say that they are great so far, also provide excellent documentation. I read this, https://www.digitalocean.com/community/articles/how-to-1-click-install-ruby-on-rails-on-ubuntu-12-10-with-digitalocean and on my server already there is an application.

So my question is that my application runs normally locally in production mode, can I just ssh in my drop and replace the existing application with mine? with just git clone .....? Without using capistrano?

+4
source share
1 answer

Yes.

HOWEVER, I would suggest using capistrano. This allows you to do much faster than if you yourself did it.

IE When deployed, you can automatically migrate your database. Capistrano also keeps backups of recent deployments that will allow you to return everything if something that you did not notice during the tests went wrong.

On the one hand, it is not so difficult to configure. It also allows you to easily deploy multiple computers and environments.

+2
source

All Articles