From 2d03d32cb2ed357d347cadadb49efc52b38f8339 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 25 Oct 2023 08:54:18 +0200 Subject: [PATCH] Update install --- scripts/install | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/install b/scripts/install index a5f7561..f3ebc23 100755 --- a/scripts/install +++ b/scripts/install @@ -73,6 +73,15 @@ pushd $install_dir ynh_exec_warn_less ynh_exec_as $app php${phpversion} spark migrate --all popd +#================================================= +# SETUP APPLICATION WITH CURL +#================================================= +ynh_script_progression --message="Finalizing installation..." --weight=1 + +ynh_local_curl "/cp-install" + +ynh_local_curl "/cp-install/create-superadmin" "email=$email" "username=$admin" "password=$password" + #================================================= # END OF SCRIPT #=================================================