deploy readme

main
Ethan Niser 2023-09-26 15:39:30 +00:00 committed by GitHub
parent 3ded011fcb
commit edd0d2a6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

@ -2,7 +2,7 @@
## To open an issue: https://github.com/ethanniser/the-beth-stack
## To discuss: https://discord.gg/Z3yUtMfkwa
### To run:
### To run locally:
1. `bun install`
2. create a new turso database with `turso db create <name>`
@ -14,3 +14,12 @@
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 <NAME>=<VALUE>` (probably want to set `NODE_ENV` to `"production"`)
5. Run `fly deploy`