I am keeping this repo identical for people following along with the video, feel free to open an issue or a pull request on the template create-beth-app
uses
To open an issue: https://github.com/ethanniser/the-beth-stack
To discuss: https://discord.gg/Z3yUtMfkwa
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