chore: extend the nix dev shell with Python and deployment tools
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:
1 parent
0df1da7cf7
commit
0cd0b9582d
2 files changed
+11
-3
No files matched your search
@@ -22,7 +22,7 @@ AudioManager replaces static playlists with **moods**: curated anchors plus a ra
|
||||
|
||||
## 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
|
||||
# 1. Build
|
||||
|
||||
@@ -8,12 +8,20 @@ pkgs.mkShell {
|
||||
sqlite
|
||||
git
|
||||
curl
|
||||
python3
|
||||
kubernetes-helm
|
||||
kustomize
|
||||
kubectl
|
||||
];
|
||||
|
||||
JAVA_HOME = "${pkgs.jdk21}/lib/openjdk";
|
||||
JAVA_HOME = pkgs.jdk21.home;
|
||||
|
||||
shellHook = ''
|
||||
echo "MusicManager dev shell (JDK 21, Gradle, ffmpeg, sqlite)"
|
||||
echo "MusicManager dev shell (JDK 21, Gradle, ffmpeg, sqlite, helm, kustomize)"
|
||||
java -version
|
||||
echo ""
|
||||
echo "Test: gradle test"
|
||||
echo "Smoke: GRADLE=gradle scripts/smoke.sh"
|
||||
echo "Image: docker build -t audiomanager ."
|
||||
'';
|
||||
}
|
||||
Reference in new issue
Block a user