1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/castopod_ynh.git synced 2024-09-03 18:16:14 +02:00
This commit is contained in:
Éric Gaspar 2023-10-25 09:00:45 +02:00
parent 34d8268678
commit 4747dba280
2 changed files with 12 additions and 0 deletions

View file

@ -37,6 +37,9 @@ ram.runtime = "50M"
[install.admin]
type = "user"
[install.password]
type = "password"
[resources]
[resources.sources]

View file

@ -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
#=================================================