Prerequisites
This guide assumes you are familiar with DigitalOcean, the command line and the software that will be installed.
Create the Deployment Server
On DigitalOcean, create a new droplet with the following specs:
Ubuntu 18.04.3 (LTS) x64
1GB RAM, 25GB HDD, $5/month
Make sure you add the SSH key from your local machine when creating the droplet. You can print out your SSH key by using the following command:
Connect to the Server
You should be able to connect to the server via SSH using the following command on your local machine:
The first time you connect, you will be prompted to add the server to your list of known hosts. This can be removed later using the following command on your local machine:
You can disconnect from the deployment server by typing exit
.
PreviousManually Deploying a Rails 6 Application on Ubuntu 18.04 (DigitalOcean)NextSystem Configuration
Last updated