chore: extend the nix dev shell with Python and deployment tools
CI / chart (push) Successful in 3s
CI / chart-push (push) Successful in 3s
CI / test (push) Successful in 1m47s
CI / image (push) Successful in 3m14s

The smoke script needs Python, and Helm/Kustomize/kubectl cover the
deployment workflow. JAVA_HOME now uses the package home attribute.
This commit is contained in:
TapTap committed 2026-11-14 21:33:45 +00:00
1 parent 0df1da7cf7
commit 0cd0b9582d
2 files changed
+11 -3

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ AudioManager replaces static playlists with **moods**: curated anchors plus a ra
## Quick start ## Quick start
Requirements: JDK 21, ffmpeg, SQLite (bundled through JDBC). Requirements: JDK 21, ffmpeg, SQLite (bundled through JDBC). With Nix, `nix-shell` provides the JDK, Gradle, ffmpeg, sqlite, Python, Helm, Kustomize and kubectl.
```bash ```bash
# 1. Build # 1. Build
+10 -2
View File
@@ -8,12 +8,20 @@ pkgs.mkShell {
sqlite sqlite
git git
curl curl
python3
kubernetes-helm
kustomize
kubectl
]; ];
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk"; JAVA_HOME = pkgs.jdk21.home;
shellHook = '' shellHook = ''
echo "MusicManager dev shell (JDK 21, Gradle, ffmpeg, sqlite)" echo "MusicManager dev shell (JDK 21, Gradle, ffmpeg, sqlite, helm, kustomize)"
java -version java -version
echo ""
echo "Test: gradle test"
echo "Smoke: GRADLE=gradle scripts/smoke.sh"
echo "Image: docker build -t audiomanager ."
''; '';
} }