From cdefe7df0e2fd6a9af95a6d24d50111702351451 Mon Sep 17 00:00:00 2001 From: rodinux Date: Sun, 18 Aug 2024 02:26:51 +0200 Subject: [PATCH] forget the fonction disable email for now in config panel --- scripts/install | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/scripts/install b/scripts/install index 2dd438d..32e3e24 100644 --- a/scripts/install +++ b/scripts/install @@ -59,6 +59,19 @@ ynh_add_config --template="config.local.php" --destination="$install_dir/config. chmod 440 "$install_dir/config.local.php" chown $app:$app "$install_dir/config.local.php" +#================================================= +# SETUP APPLICATION WITH CURL +#================================================= + +### Use these lines only if the app installation needs to be finalized through +### web forms. We generally don't want to ask the final user, +### so we're going to use curl to automatically fill the fields and submit the +### forms. + +# Installation with curl +#ynh_script_progression --message="Finalizing installation..." --weight=1 +#ynh_local_curl "/INSTALL_PATH" "key1=value1" "key2=value2" "key3=value3" +#https://paheko.rodinux.fr/admin/install.php --args="country=FR&name=toto&user_name=bob&user_email=bob@example.org&password=bopbidibopbopbop&password_confirmed=bopbidibopbopbop" #================================================= # END OF SCRIPT #=================================================