forked from ScoDoc/ScoDoc
invalidation cache Redis lors des mises à jour
This commit is contained in:
parent
69431b4de0
commit
ae42db06da
@ -1,7 +1,7 @@
|
||||
# -*- mode: python -*-
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
SCOVERSION = "9.1.3"
|
||||
SCOVERSION = "9.1.4"
|
||||
|
||||
SCONAME = "ScoDoc"
|
||||
|
||||
|
@ -107,7 +107,7 @@ then
|
||||
# utilise les scripts dans migrations/version/
|
||||
# pour mettre à jour notre base (en tant qu'utilisateur scodoc)
|
||||
export FLASK_ENV="production"
|
||||
su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask db upgrade)" "$SCODOC_USER"
|
||||
su -c "(cd $SCODOC_DIR && source venv/bin/activate && flask db upgrade && flask clear-cache)" "$SCODOC_USER"
|
||||
fi
|
||||
|
||||
# ------------ LOGROTATE
|
||||
|
Loading…
Reference in New Issue
Block a user