Update CLAUDE document

This commit is contained in:
Claudio Ortolina
2025-06-09 19:01:50 +01:00
parent a31d92bc9f
commit 19e5d03bb2
+7 -3
View File
@@ -8,7 +8,7 @@ Music Library is an Elixir/Phoenix application for managing a personal music col
- Add records from MusicBrainz, with optional data overrides - Add records from MusicBrainz, with optional data overrides
- Manage a collection and wishlist of records with search/filtering capabilities - Manage a collection and wishlist of records with search/filtering capabilities
- Integrate with Last.fm for scrobbles and record tracking - Integrate with Last.fm for scrobbles and record tracking
- View statistics about the collection - View statistics about the collection
- Store all data in a single SQLite database - Store all data in a single SQLite database
@@ -23,6 +23,7 @@ Music Library is an Elixir/Phoenix application for managing a personal music col
### Environment Configuration ### Environment Configuration
Required environment variables: Required environment variables:
- `LAST_FM_USER`: Last.fm username for Scrobble Activity - `LAST_FM_USER`: Last.fm username for Scrobble Activity
- `LAST_FM_API_KEY`: Last.fm API key (secret) - `LAST_FM_API_KEY`: Last.fm API key (secret)
- `OPENAI_KEY`: OpenAI API key (secret) - `OPENAI_KEY`: OpenAI API key (secret)
@@ -70,7 +71,7 @@ mise run deps:update
```sh ```sh
# Run all tests # Run all tests
mix test mix test
# OR # OR
mise run test mise run test
# Run a specific test file # Run a specific test file
@@ -142,6 +143,8 @@ The application follows standard Phoenix/Elixir structure:
- `artists/`: Artist data handling - `artists/`: Artist data handling
- `wishlist/`: Wishlist functionality - `wishlist/`: Wishlist functionality
- `barcode_scan/`: Barcode scanning features - `barcode_scan/`: Barcode scanning features
- `colors/`: Extract colors for images, e.g. album artworks
- `secrets/`: Manage encrypted secrets that are stored in the db
- `lib/music_brainz`, `lib/discogs`, `lib/last_fm`: External API integrations - `lib/music_brainz`, `lib/discogs`, `lib/last_fm`: External API integrations
- `lib/music_library_web`: Web interface (Phoenix) - `lib/music_library_web`: Web interface (Phoenix)
- `live/`: LiveView implementations - `live/`: LiveView implementations
@@ -161,4 +164,5 @@ To set up a pre-commit hook:
```sh ```sh
mise generate git-pre-commit --write --task=static-checks-hook mise generate git-pre-commit --write --task=static-checks-hook
``` ```