Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hwangsihu committed Oct 4, 2024
1 parent 3e13e86 commit b8dd235
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -535,5 +535,6 @@ Lavalink/application.yml
Lavalink/Lavalink.jar
prisma/migrations
prisma/lavamusic.db
prisma/schema.prisma
package-lock.json
pnpm-lock.yaml
15 changes: 8 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,30 +118,31 @@ cd lavamusic
npm i
```

4. Copy the .env.example file to .env and fill in all required values.
Note: Optional values ​​are noted as comments in the settings.
4. Copy the `.env.example` file to `.env` and fill in all required values

5. Generate the Prisma client:
5. Copy the `example.<The data source you want to use>.schema.prisma` file to `schema.prisma` in `prisma` folder

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.
Note: You can also run `run.bat` to easily run the bot on Windows.

```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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
},
"homepage": "https://github.com/appujet/lavamusic#readme",
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@biomejs/biome": "^1.9.3",
"@types/i18n": "^0.13.12",
"@types/node": "^22.7.4",
"@types/signale": "^1.4.7",
Expand Down
File renamed without changes.

0 comments on commit b8dd235

Please sign in to comment.