bun install
- create a new turso database with
turso db create <name>
- get the database url with
turso db show --url <name>
- get the auth token with
turso db tokens create <name>
- (optional) create a new github developer app and get credentials
- copy
.env.example
to.env
- fill out all enviorment variables (refer to the config file to see schema)
bun db:push
bun dev
-
Install the Fly CLI
-
Run
fly launch
-
Run
fly secrets set <NAME>=<VALUE>
(probably want to setNODE_ENV
to"production"
) -
Run
fly deploy