Getting started

Overview

To get started with Ledokku you will have to set up your own server. If you already have experience with installing and running dokku, please skip the part below proceed directly to installation guide.

If you want to try out Ledokku and need guidance on how to set up your own server and install dokku on it, please follow these steps.

Set up Digital Ocean account and get $100 credit

First you will need to open a Digital Ocean account and we recommend you do it with this link as it will it bring you $100 free credit to play around for the first 60 days. More than enough to try out Ledokku.

Create Docker Droplet

In Digital Ocean server's are referred as droplets and in our case we will be creating Docker Droplet to host our dokku apps on.

  1. Expand the Discover section on left side menu
  2. Click Marketplace
  3. Search for Docker
Search for docker droplet
  1. Click Create Docker droplet
Create one click droplet
  1. Select Starter Plan It shows $5/month, but to play around with Ledokku for a day or couple of days will most likely cost you under $0.50 and you will be charged just that and no more. After that scroll down for SSH setup.
Choose a plan
  1. Choose existing SSH key If you already had previously set up SSH on Digital Ocean then choose one of your existing SSH keys. As you can see in screenshot, existing SSH key called Ledokku is selected. If you click New SSH key, see step 7.
SSH setup screen
  1. Set up new SSH key See the instructions in the input field. That should be enough for you to get through this setup.
SSH setup screen
  1. Click green CREATE A DROPLET button.

SSH into Digital Ocean Droplet

  1. Open terminal of your choice

  2. Run this command

Before running the command, don't forget to change YOUR_DOCKER_DROPLET_IP part to the ip address you can see as your Droplet IP in your Digital Ocean's dashboard.

ssh root@YOUR_DOCKER_DROPLET_IP
Docker droplet ip
  1. After running this command you will be asked whether you are sure that you want to connect to this server and to this prompt you should type yes and click ENTER

  2. In your terminal you will see that you are inside the docker droplet
    Your terminal path will look something similar to this root@YOUR_DROPLET_NAME:~#