https://github.com/pungrumpy/beth-b2b-sass
💁 A multitenant B2B SaaS application deployed to the edge with the BETH Stack.
https://github.com/pungrumpy/beth-b2b-sass
Last synced: 11 months ago
JSON representation
💁 A multitenant B2B SaaS application deployed to the edge with the BETH Stack.
- Host: GitHub
- URL: https://github.com/pungrumpy/beth-b2b-sass
- Owner: PunGrumpy
- Created: 2023-10-26T17:01:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-26T17:01:41.000Z (over 2 years ago)
- Last Synced: 2025-01-27T06:32:17.355Z (about 1 year ago)
- Language: TypeScript
- Size: 1010 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
1. `bun install`
2. create a new turso database with `turso db create `
3. get the database url with `turso db show --url `
4. get the auth token with `turso db tokens create `
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 deploy to fly.io
1. Install the [Fly CLI](https://fly.io/docs/hands-on/install-flyctl/)
2. Run `fly launch`
3. Run `fly secrets set =` (probably want to set `NODE_ENV` to `"production"`)
5. Run `fly deploy`