babashka/doc/fly_io
2022-05-16 14:18:32 +02:00
..
Dockerfile fly io docs [skip ci] 2022-05-16 14:16:26 +02:00
example.clj fly io docs [skip ci] 2022-05-16 14:16:26 +02:00
fly.toml fly io docs [skip ci] 2022-05-16 14:16:26 +02:00
README.md fly io docs [skip ci] 2022-05-16 14:18:32 +02:00

Deploying a babashka app to fly.io

Fly.io is a service that can run full stack apps with minimal configuration. If you like the ease of Heroku, you might like fly.io and perhaps even better! This document shows how to get a minimal babashka application up and running on fly.io.

In example.clj we start an http-kit web server which spits out some HTML. You can run this locally by invoking bb example.clj from the command line.

To get this site running on fly.io, you need to install and log in.

Then run flyctl launch to create a new application. After making changes, you can re-deploy the site with flyctl deploy.

That's it! See this tweet for a demo.