main
Ethan Niser 2023-09-26 15:32:55 +00:00 committed by GitHub
parent 2a2ca74bea
commit 3ded011fcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 14 deletions

@ -1,15 +1,16 @@
# test
# 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 install dependencies:
### To run:
```bash
bun install
```
1. `bun install`
2. create a new turso database with `turso db create <name>`
3. get the database url with `turso db show --url <name>`
4. get the auth token with `turso db tokens create <name>`
5. (optional) create a new github developer app and get credentials
6. copy `.env.example` to `.env`
7. fill out all enviorment variables (refer to the config file to see schema)
8. `bun db:push`
9. `bun dev`
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.0.0. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

@ -17,8 +17,8 @@ const env = createEnv({
: true;
}),
NODE_ENV: z.enum(["development", "production"]),
GITHUB_CLIENT_ID: z.string().min(1),
GITHUB_CLIENT_SECRET: z.string().min(1),
GITHUB_CLIENT_ID: z.string(),
GITHUB_CLIENT_SECRET: z.string(),
},
runtimeEnv: process.env,
});