Update scripts/install
This commit is contained in:
parent
c5cae85f04
commit
ad7fe293c7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue