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.exampleto.env - fill out all enviorment variables (refer to the config file to see schema)
bun db:pushbun dev
-
Install the Fly CLI
-
Run
fly launch -
Run
fly secrets set <NAME>=<VALUE>(probably want to setNODE_ENVto"production") -
Run
fly deploy