From bf35eca0fdb205f37f95e9bf2a012cb5c326178e Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Mon, 11 Sep 2023 00:50:10 -0400 Subject: [PATCH 1/2] Fix dotenv template --- .env.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.env.template b/.env.template index 068f258..9194ad5 100644 --- a/.env.template +++ b/.env.template @@ -1,4 +1,4 @@ DATABASE_URL="file:./db.sqlite" PORT=8443 -ADMINPASS= +ADMIN_PASS= SALT= From f30883b9031dc1c5c52a8d0c60f2c440e102c9c4 Mon Sep 17 00:00:00 2001 From: Hri7566 Date: Mon, 11 Sep 2023 00:52:03 -0400 Subject: [PATCH 2/2] Update README.md --- README.md | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b83f67b..6cfbe88 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,13 @@ The commit history includes BopItFreak's server because this server is (debatabl $ curl -fsSL https://bun.sh/install | bash ``` -1. Configure +1. Setup Git submodules + + ``` + $ git submodule update --init + ``` + +2. Configure - Copy environment variables @@ -26,26 +32,26 @@ The commit history includes BopItFreak's server because this server is (debatabl - Edit the files in the `config` folder to match your needs -2. Install packages +3. Install packages ``` $ bun i ``` -3. Setup database +4. Setup database ``` $ bunx prisma generate $ bunx prisma db push ``` -4. Build +5. Build ``` $ bun run build ``` -5. Run +6. Run ``` $ bun start