Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,20 @@ example :
`npm run cargo -- prisma generate`
_for the CLI [prisma-client-rust](https://prisma.brendonovich.dev/getting-started/setup)_

**Prerequisite**
For Linux:
```
apt install cargo libsoup2.4-1 libsoup2.4-dev libjavascriptcoregtk-4.0-bin libjavascriptcoregtk-4.0-dev libjavascriptcoregtk-4.0-18 libwebkit2gtk-4.0-37 libwebkit2gtk-4.0-dev npm nodejs
```

**Starter**

- Rename `src-tauri/.env.dist` to `src-tauri/.env` and replace `<user>` in `DATABASE_URL` for macOS (For the other OS
repect `<app_data_dir>/databases/Database.db` and check
documentation [here](https://tauri.app/v1/api/js/path/#appdatadir)
and [there](https://docs.rs/tauri/1.2.4/tauri/struct.PathResolver.html#method.app_data_dir) and
adjust `<app_data_dir>`).
- Install cargo packages : `npm run cargo -- install`
- Install cargo packages : `npm run cargo -- install --path .`
- Install npm packages : `npm install`
- Push in db first migration : `npm run cargo -- prisma migrate dev --name init`.
- Generate Prisma Rust Client : `npm run cargo -- prisma generate`.
Expand Down
2 changes: 1 addition & 1 deletion src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ prisma-client-rust = { git = "https://github.com/Brendonovich/prisma-client-rust
tokio = { version = "1", features = ["full"] }
thiserror = "1.0.61"
walkdir = "2.5"
lofty = { "git" = "https://github.com/Serial-ATA/lofty-rs.git", "branch" = "parse_options_read_tags" }
lofty = { "git" = "https://github.com/Serial-ATA/lofty-rs.git", "tag" = "0.21.0" }

# taglib = "1.0"
[features]
Expand Down