Question

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

Posted May 19, 2019 881 views
Ruby on Rails Git Deployment 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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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.
Submit an Answer