2
0
Fork 0

nix: disable running update scripts

Currently, upstream Docker deployments disable this as well (see commit
184a463097)
This commit is contained in:
D Anzorge 2022-03-30 03:15:02 +02:00
parent 8d556c2153
commit d9dc40f7d1

View file

@ -392,7 +392,7 @@ in
preStart = ''
${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat ${escapeShellArg v})"'') envSecrets)}
${bookwyrm}/libexec/bookwyrm/manage.py migrate --noinput
${bookwyrm}/libexec/bookwyrm/update.sh
# ${bookwyrm}/libexec/bookwyrm/update.sh
${bookwyrm}/libexec/bookwyrm/manage.py collectstatic --noinput --clear
# --use-storage will output directly to STATIC_ROOT; without it, the sass processor
# will try to write to the Nix store