add --noinput to noninteractive manage.py invocations under nix
This commit is contained in:
parent
da24a2343c
commit
bfa8995160
1 changed files with 2 additions and 2 deletions
|
@ -387,8 +387,8 @@ in
|
||||||
|
|
||||||
preStart = ''
|
preStart = ''
|
||||||
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)}
|
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)}
|
||||||
${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate
|
${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate --noinput
|
||||||
${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic
|
${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic --noinput
|
||||||
'';
|
'';
|
||||||
|
|
||||||
script = ''
|
script = ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue