mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Update install
This commit is contained in:
parent
4e6236859c
commit
02557b3dce
1 changed files with 4 additions and 2 deletions
|
@ -26,6 +26,7 @@ admin=$YNH_APP_ARG_ADMIN
|
||||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||||
timezone=$(cat /etc/timezone)
|
timezone=$(cat /etc/timezone)
|
||||||
maindomain=$(yunohost domain main-domain --output-as plain)
|
maindomain=$(yunohost domain main-domain --output-as plain)
|
||||||
|
email=$(ynh_user_get_info --username=$admin --key=mail)
|
||||||
|
|
||||||
app=$YNH_APP_INSTANCE_NAME
|
app=$YNH_APP_INSTANCE_NAME
|
||||||
|
|
||||||
|
@ -166,9 +167,10 @@ chown -R $app:www-data "$cache_dir"
|
||||||
ynh_script_progression --message="Configuring Movim..." --weight=1
|
ynh_script_progression --message="Configuring Movim..." --weight=1
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
php$phpversion composer.phar install
|
sudo -u $app php$phpversion composer.phar install
|
||||||
php$phpversion composer.phar $app:migrate #--quiet
|
sudo -u $app php$phpversion composer.phar $app:migrate --quiet
|
||||||
#php$phpversion daemon.php setAdmin $admin@${maindomain}
|
#php$phpversion daemon.php setAdmin $admin@${maindomain}
|
||||||
|
sudo -u $app php$phpversion daemon.php setAdmin $email
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue