Deploying for the first time

This guide walks through an initial production deploy. Every step is idempotent, so a run that fails partway is always safe to repeat.

Before you start

You will need a provisioned host and push access to the release branch.

  1. Prepare the database with bin/rails db:prepare.
  2. Set SECRET_KEY_BASE in the server environment.
  3. Point the load balancer at the freshly booted instances.

The docs preset widens the measure and opens up the spacing, which suits pages a reader moves through top to bottom.