From 047132bb911ff2043c9a3863267d10a27b53c686 Mon Sep 17 00:00:00 2001 From: hwangsihu Date: Tue, 1 Oct 2024 18:22:33 +0900 Subject: [PATCH] README fix --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index ff1aa3afc..cacc17688 100644 --- a/README.md +++ b/README.md @@ -118,22 +118,24 @@ cd lavamusic npm i ``` -4. Copy the .env.example file to .env and fill in all required values. +4. Copy the `.env.example` file to `.env` and fill in all required values. Note: Optional values ​​are noted as comments in the settings. -5. Generate the Prisma client: +5. Copy the `prisma/example..schema.prisma` file to `schema.prisma`. + +6. Generate the Prisma client: ```bash npm run db:push ``` -6. Run the migrations (Only if you want to migrate your database): +7. Run the migrations (Only if you want to migrate your database): ```bash npm run db:migrate ``` -7. Run the bot: +8. Run the bot: If you are using Windows, click run.bat on Windows explorer. @@ -141,7 +143,7 @@ If you are using Windows, click run.bat on Windows explorer. npm start ``` -8. Invite the bot to your server: +9. Invite the bot to your server: Generate an invite link for your bot and invite it to your server using the [Discord Developer Portal](https://discord.com/developers/applications) or [Permissions Calculator](https://discordapi.com/permissions.html).