DOCS / GUIDES

Deploying to HenHouse

Push your app to managed hosting with zero-downtime rollouts.

Beginner9 min read
Before you beginYou need the cluck CLI, a Pollosoft account, and a coop to work in. No prior experience required. Curiosity and a mild fondness for chickens are helpful.

Overview

Push your app to managed hosting with zero-downtime rollouts. The whole thing takes about 9 minutes, and the commands below are the ones you will use along the way.

$ cluck deploy --env production
$ cluck status
$ cluck rollback

Steps

  1. Prepare the app. Add a Procfile or a deploy block to coop.yolk. HenHouse detects most frameworks automatically.
  2. Deploy. Run cluck deploy. Watch the rollout move across the perch while your health checks turn green.
  3. Verify. Run cluck status to confirm all hens are healthy and the new version is serving traffic.
  4. Roll back if needed. If anything looks off, cluck rollback returns to the previous version in under eight seconds.

Commands used

Keep going

Stuck? Check the error codes, the FAQ, or the glossary.