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:
parent
0dff369fcd
commit
6f94279f52
1 changed files with 4 additions and 0 deletions
|
@ -77,12 +77,16 @@ popd
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Initializing database..." --weight=1
|
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 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 create $admin --email $admin_mail --password $password
|
||||||
|
|
||||||
ynh_exec_warn_less $install_dir/venv/bin/ftcli users update $admin --set-admin true
|
ynh_exec_warn_less $install_dir/venv/bin/ftcli users update $admin --set-admin true
|
||||||
|
|
||||||
|
set +a
|
||||||
#=================================================
|
#=================================================
|
||||||
# System Configuration
|
# System Configuration
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue