From edd0d2a6f6b8a193d5d9674ec629edfdd5d990f0 Mon Sep 17 00:00:00 2001 From: Ethan Niser <100045248+ethanniser@users.noreply.github.com> Date: Tue, 26 Sep 2023 15:39:30 +0000 Subject: [PATCH] deploy readme --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cee3b57..8854caf 100644 --- a/README.md +++ b/README.md @@ -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 ` @@ -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 =` (probably want to set `NODE_ENV` to `"production"`) + +5. Run `fly deploy` \ No newline at end of file