Getting started
Installation
Install the gem, run dash init, and you are ready to configure a deploy.
Requirements#
| Where | Requirement |
|---|---|
| Your machine | Ruby >= 3.2, Docker (to build images), SSH access to your servers |
| Your servers | Any Linux host you can SSH into — dash server bootstrap installs Docker via curl if it is missing |
| A registry | Docker Hub, ghcr.io, or any private registry — dash pushes your image there and the servers pull it |
Install the gem#
Standalone:
gem install dashOr Gemfile-managed, so every collaborator gets the same pinned version:
bundle add dash
bundle binstubs dashThe 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 initThis 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 readinessThen head to the Quick start for your first deploy.