1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fittrackee_ynh.git synced 2024-09-03 18:36:16 +02:00

Fix source .env

This commit is contained in:
Thomas 2023-12-26 15:07:37 +01:00 committed by GitHub
parent 0dff369fcd
commit 6f94279f52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -77,12 +77,16 @@ popd
#=================================================
ynh_script_progression --message="Initializing database..." --weight=1
set -a
source $install_dir/.env
ynh_exec_warn_less $install_dir/venv/bin/ftcli db upgrade
ynh_exec_warn_less $install_dir/venv/bin/ftcli users create $admin --email $admin_mail --password $password
ynh_exec_warn_less $install_dir/venv/bin/ftcli users update $admin --set-admin true
set +a
#=================================================
# System Configuration
#=================================================