Skip to content

Commit

Permalink
README fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Oct 1, 2024
1 parent f068740 commit 047132b
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,30 +118,32 @@ 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.<The data source you want to use>.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.

```bash
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).

Expand Down

0 comments on commit 047132b

Please sign in to comment.