Update scripts/install

This commit is contained in:
denis 2024-10-28 16:26:07 -04:00
parent c5cae85f04
commit ad7fe293c7

View file

@ -9,6 +9,7 @@ source /usr/share/yunohost/helpers
timezone="$(cat /etc/timezone)" timezone="$(cat /etc/timezone)"
email=$(ynh_user_get_info --username=$admin --key=mail) email=$(ynh_user_get_info --username=$admin --key=mail)
password=$YNH_APP_ARG_PASSWORD
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
@ -64,7 +65,7 @@ pushd $install_dir
#php$php_version artisan p:environment:database --no-interaction #php$php_version artisan p:environment:database --no-interaction
#php$php_version artisan p:environment:mail --no-interaction #php$php_version artisan p:environment:mail --no-interaction
php$php_version artisan migrate --seed --force php$php_version artisan migrate --seed --force
#php$php_version artisan p:user:make --name-first $admin --name-last $admin --username $admin --email $email --password $password --admin 1 php$php_version artisan p:user:make --name-first $admin --name-last $admin --username $admin --email $email --password $password --admin 1
popd popd
#================================================= #=================================================