chan.dev / posts

Fly.io

🌱 This post is in the growth phase. It may still be useful as it grows up.

Setup

Terminal window
brew install flyctl
Terminal window
fly help
Terminal window
fly auth login
Terminal window
fly docs

Concepts

First

Terminal window
git clone https://github.com/fly-apps/hello-fly.git
cd hello-fly
fly launch --now

Name must be globally unique.

fly apps open (in repo).

Urls are supported with open: fly apps open /chan

LiteFS

Reference docs

  • Create LiteFS Cloud cluster