How to deploy Ruby on Rails app from GitHub repository onto DigitalOcean Ubuntu 18.04 droplet using HTTPS URL from GitHub?

May 19, 2019 513 views
Deployment Ruby on Rails Git Ubuntu 18.04

I have already tried searching the DigitalOcean documentation and I could not find any information in the existing documentation to my question.

1 Answer

Hello,

You could follow the steps here on how to deploy a Rails app with Git hooks:

https://www.digitalocean.com/community/tutorials/how-to-deploy-a-rails-app-with-git-hooks-on-ubuntu-14-04

Hope that this helps!
Regards,
Bobby

by Mitchell Anicas
In this tutorial, we will show you how to use Git hooks to automate the deployment of the production environment of your Rails application to a remote Ubuntu 14.04 server. Using Git hooks will allow you to deploy your application by simply pushing your changes to a production server. This particular setup uses a simple "post-receive" Git hook, in addition to Puma as the application server, Nginx as a reverse proxy to Puma, and PostgreSQL as the database.
Have another answer? Share your knowledge.