Getting started

Installation

Install the gem, run dash init, and you are ready to configure a deploy.

Requirements#

WhereRequirement
Your machineRuby >= 3.2, Docker (to build images), SSH access to your servers
Your serversAny Linux host you can SSH into — dash server bootstrap installs Docker via curl if it is missing
A registryDocker Hub, ghcr.io, or any private registry — dash pushes your image there and the servers pull it

Install the gem#

Standalone:

gem install dash

Or Gemfile-managed, so every collaborator gets the same pinned version:

bundle add dash
bundle binstubs dash
The gem is named dash and the executable is dash. With binstubs, run it as bin/dash.

Initialize the project#

From your app's root:

dash init

This writes two stubs:

  • config/deploy.yml — the deployment configuration; every key is documented in the Configuration reference.
  • .dash/secrets — where registry passwords and other secrets are read from (dotenv format, command substitution supported).

Verify#

dash version         # the installed gem version
dash docs            # the full configuration reference, in your terminal
dash doctor          # once configured: diagnose deploy readiness

Then head to the Quick start for your first deploy.