2
0
Fork 0

add --noinput to noninteractive manage.py invocations under nix

This commit is contained in:
D Anzorge 2021-04-12 01:17:25 +02:00
parent da24a2343c
commit bfa8995160

View file

@ -387,8 +387,8 @@ in
preStart = ''
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)}
${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate
${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic
${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate --noinput
${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic --noinput
'';
script = ''