From 3a8981c5b5e4c6efb9b9b084ac17887ae5c679ef Mon Sep 17 00:00:00 2001 From: Daniel Date: Sat, 3 Feb 2024 22:26:02 -0300 Subject: [PATCH] read --- README.md | 48 ++++++++++-------------------------------------- 1 file changed, 10 insertions(+), 38 deletions(-) diff --git a/README.md b/README.md index 03e30ee..a1b159b 100644 --- a/README.md +++ b/README.md @@ -10,45 +10,17 @@ The commit history includes BopItFreak's server because this server is (debatabl ## How to run -0. Install bun - - ``` - $ curl -fsSL https://bun.sh/install | bash +0. Simply: ``` + If no bun: -1. Setup Git submodules + curl -fsSL https://bun.sh/install | bash + cp .env.template .env - ``` - $ git submodule update --init --recursive - ``` + Do on bash: -2. Configure - - - Copy environment variables - - ``` - $ cp .env.template .env - ``` - - Edit `.env` to your needs. - - - Edit the files in the `config` folder to match your needs - -3. Install packages - - ``` - $ bun i - ``` - -4. Setup database - - ``` - $ bunx prisma generate - $ bunx prisma db push - ``` - -5. Run - - ``` - $ bun . - ``` + bun i + bunx prisma generate + bunx prisma db push + bun . + ``` \ No newline at end of file