Example project for Drizzle LiteFS SQLite package and Bun🚀
Subscribe to our updates on Twitter!
To setup Fly.io LiteFS app - please refer to official fly.io docs and LiteFS docs
name = "YOU PROJECT NAME"
## ...
[mounts]
destination = "/mnt/sqlite"
## fly mounts create mount_name
source = "YOUR SOURCE NAME"
## ...
## install bun
curl -fsSL https://bun.sh/install | bash
## install dependencies
bun install
## install fly cli - https://fly.io/docs/flyctl/installing/
fly login
## launch fly app
fly launch
## create fly volume
fly volumes create source_name
## deploy changes
fly deploy
## need multi regional scale?
## create volume in different region
fly volumes create source_name
## config scaling for your app
fly scale count 2 --max-per-region=1
bun run generate