Carsten Kragelund af33273f15 | ||
---|---|---|
public | ||
src | ||
.env.example | ||
.gitignore | ||
README.md | ||
bun.lockb | ||
bunfig.toml | ||
drizzle.config.ts | ||
package.json | ||
reset.d.ts | ||
tsconfig.json |
README.md
This project was created using create-beth-app
To open an issue: https://github.com/ethanniser/the-beth-stack
To discuss: https://discord.gg/Z3yUtMfkwa
To run locally:
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
To deploy to fly.io
-
Install the Fly CLI
-
Run
fly launch
-
Run
fly secrets set <NAME>=<VALUE>
(probably want to setNODE_ENV
to"production"
) -
Run
fly deploy