By rtj20 on Skatehive
Tutorial how to easily deploy Ruby on Rails application to production ready environment. In this tutorial we will use Dokku PaaS (Platform as a Service) and Digital Ocean for our servers servers. Let's start by WHAT IS DOKKU? Dokku is an extensible, open source PaaS (Platform as a Service) that runs on a single server of your choice. To start using Dokku, you'll need a system that meets the following minimum requirements: A fresh installation of Ubuntu 16.04/18.04 x64, Debian 9+ x64 or CentOS 7 x64 (experimental) with the FQDN set [1] At least 1 GB of system memory [2] You can optionally have a domain name pointed at the host's IP, though this is not necessary. I personally recommend one of these providers: Digital Ocean ( Get $100 using this link ) Vultr ( Get $100 using this link ) Linode Once you are registered with one of these providers, create an instance with ubuntu 18.04 LTS and connect by ssh ( I recommend to chose more than 1 GB RAM ). Update first: sudo apt-ge