mirror of
https://github.com/YunoHost-Apps/castopod_ynh.git
synced 2024-09-03 18:16:14 +02:00
fix
This commit is contained in:
parent
34d8268678
commit
4747dba280
2 changed files with 12 additions and 0 deletions
|
@ -37,6 +37,9 @@ ram.runtime = "50M"
|
|||
[install.admin]
|
||||
type = "user"
|
||||
|
||||
[install.password]
|
||||
type = "password"
|
||||
|
||||
[resources]
|
||||
|
||||
[resources.sources]
|
||||
|
|
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue