forked from ScoDoc/DocScoDoc
Merge pull request 'Mise à jour de 'tools/configure-scodoc9.sh'' (#187) from pascal.bouron/ScoDoc:master into master
Reviewed-on: https://scodoc.org/git/viennet/ScoDoc/pulls/187 Fix #186
This commit is contained in:
commit
d05ce6a93b
@ -120,7 +120,7 @@ then
|
||||
echo
|
||||
echo "Création des tables et du compte admin"
|
||||
echo
|
||||
msg="Saisir le mot de passe de l'administrateur \(admin, via le web\):"
|
||||
msg="Saisir le mot de passe administrateur \(admin, via le web\):"
|
||||
su -c "(cd /opt/scodoc; source venv/bin/activate; flask db upgrade; flask sco-db-init; echo; echo $msg; flask user-password admin)" "$SCODOC_USER" || die "Erreur: sco-db-init"
|
||||
echo
|
||||
echo "Base initialisée et admin créé."
|
||||
|
Loading…
Reference in New Issue
Block a user