From 6f94279f52b0ea24067110c087cb15f7bcc1c9e3 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Tue, 26 Dec 2023 15:07:37 +0100 Subject: [PATCH] Fix source .env --- scripts/install | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/install b/scripts/install index 9b99020..7dbc093 100755 --- a/scripts/install +++ b/scripts/install @@ -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 #=================================================