This commit is contained in:
2025-09-18 11:35:56 +02:00
commit 2203d6075f
45 changed files with 935 additions and 0 deletions

14
shell/update_stud.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
set -e
cd ~/projects/studCrawl
# List your dependencies here (space-separated, Nix/Nixpkgs attribute names)
PYTHON_DEPS="requests beautifulsoup4"
# Optional: set path to your main script
SCRIPT="src/just_update.py"
# Call nix-shell with your dependencies; -p means "with these packages in environment"
nix-shell -p "python3.withPackages (ps: with ps; [ $PYTHON_DEPS ])" --run "python3 $SCRIPT"