Harden local auth helper script and ignore local env artifacts

This commit is contained in:
2026-02-14 22:25:03 +00:00
parent 49105a3fdf
commit 2cc9a73b82
2 changed files with 13 additions and 0 deletions

View File

@@ -1,2 +1,13 @@
#!/bin/sh
podman exec -i gia sh -c "cd /code && . /venv/bin/activate && python auth_django.py"
#cd /code
#. /code/xf/GIA/genv/bin/activate
#exec python /code/xf/GIA/auth_django.py
set -e
podman exec -i gia sh -c '
cd /code &&
. /venv/bin/activate &&
exec python auth_django.py
'