From 7151f24661b394f82e2362faa721df776009a53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Mon, 22 May 2023 18:04:25 +0200 Subject: [PATCH] Update install --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 9425a25..5613815 100644 --- a/scripts/install +++ b/scripts/install @@ -41,6 +41,13 @@ ynh_add_config --template="../conf/config.dist.php" --destination="$install_dir/ chmod 644 "$install_dir/config.php" chown $app: "$install_dir/config.php" +#================================================= +# DATABASE CONFIGURATION +#================================================= +ynh_script_progression --message="Adding database configuration..." --weight=1 + +ynh_mysql_connect_as --user="user" --password="pass" < $install_dir/db/SCHEMA.sql + #================================================= # GENERIC FINALIZATION #=================================================