Run an app on fly.io
First create a fly account on fly.io and install flyctl on your system fly.io/docs/hands-on/install-flyctl/ (on macOS, use brew install flyctl
)
Then run fly auth login
to login
Go in your project folder and add a Dockerfile if you don’t have already one.
Then run fly launch
(select a region that’s free) and fly deploy --ha=false
to create a single-instance free service.
→ Here's my latest YouTube video
→ I wrote 17 books to help you become a better developer, download them all at $0 cost by joining my newsletter
→ JOIN MY CODING BOOTCAMP, an amazing cohort course that will be a huge step up in your coding career - covering React, Next.js - next edition February 2025