If you’re happy with how things are working locally, deploying your Honcho instance is a breeze with Fly. Follow the Fly.io Docs to setup your environment and the flyctl.

A sample fly.toml is included for convenience in the repository.

Note. The fly.toml does not include launching a Postgres database. This must be configured separately

Once flyctl is set up use the the following commands to launch the application:

cd honcho
flyctl launch --no-deploy # Follow the prompts and edit as you see fit
cat .env | flyctl secrets import # Load in your secrets
flyctl deploy # Deploy with appropriate environment variables

Then you should have a new URL to initialize your Honcho client with! Consider your user context managed 🪄.`