Harden local auth helper script and ignore local env artifacts
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -160,3 +160,5 @@ core/static/debug_toolbar
|
|||||||
signal-cli-config/
|
signal-cli-config/
|
||||||
docker/data/
|
docker/data/
|
||||||
static/
|
static/
|
||||||
|
auth_debug.log
|
||||||
|
genv
|
||||||
|
|||||||
@@ -1,2 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
podman exec -i gia sh -c "cd /code && . /venv/bin/activate && python auth_django.py"
|
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
|
||||||
|
'
|
||||||
|
|||||||
Reference in New Issue
Block a user