From 2cc9a73b82aa88772caafc5a28c480a8c0221e7d Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 14 Feb 2026 22:25:03 +0000 Subject: [PATCH] Harden local auth helper script and ignore local env artifacts --- .gitignore | 2 ++ auth_django.sh | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/.gitignore b/.gitignore index 60c2f6a..1e2cba8 100644 --- a/.gitignore +++ b/.gitignore @@ -160,3 +160,5 @@ core/static/debug_toolbar signal-cli-config/ docker/data/ static/ +auth_debug.log +genv diff --git a/auth_django.sh b/auth_django.sh index e9278aa..e2d71a5 100755 --- a/auth_django.sh +++ b/auth_django.sh @@ -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 +'