mirror of
https://github.com/YunoHost-Apps/movim_ynh.git
synced 2024-09-03 19:46:19 +02:00
Merge branch 'master' into testing
This commit is contained in:
commit
8170c5f208
3 changed files with 4 additions and 11 deletions
|
@ -18,7 +18,6 @@
|
||||||
setup_private=1
|
setup_private=1
|
||||||
setup_public=1
|
setup_public=1
|
||||||
upgrade=1
|
upgrade=1
|
||||||
upgrade=1 from_commit=eb54592d2d618c43751a0353c8946f4ba3d15207
|
|
||||||
backup_restore=1
|
backup_restore=1
|
||||||
multi_instance=0
|
multi_instance=0
|
||||||
port_already_use=0
|
port_already_use=0
|
||||||
|
@ -27,6 +26,6 @@
|
||||||
Email=
|
Email=
|
||||||
Notification=none
|
Notification=none
|
||||||
;;; Upgrade options
|
;;; Upgrade options
|
||||||
; commit=eb54592d2d618c43751a0353c8946f4ba3d15207
|
; commit=
|
||||||
name=Testing (#20)
|
name=
|
||||||
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=phrasedepasse&port=9537&
|
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=phrasedepasse&port=9537&
|
||||||
|
|
|
@ -48,7 +48,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2
|
||||||
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
ynh_app_setting_set --app=$app --key=domain --value=$domain
|
||||||
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
ynh_app_setting_set --app=$app --key=path --value=$path_url
|
||||||
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
ynh_app_setting_set --app=$app --key=admin --value=$admin
|
||||||
ynh_app_setting_set --app=$app --key=password --value=$password
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# STANDARD MODIFICATIONS
|
# STANDARD MODIFICATIONS
|
||||||
|
@ -131,7 +130,7 @@ ynh_store_file_checksum --file="$final_path/config/db.inc.php"
|
||||||
#=================================================
|
#=================================================
|
||||||
# Install PHP dependencies using composer
|
# Install PHP dependencies using composer
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Configuring Composer ..." --weight=1
|
ynh_script_progression --message="Configuring Composer..." --weight=1
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
export COMPOSER_HOME=$final_path
|
export COMPOSER_HOME=$final_path
|
||||||
|
|
|
@ -24,8 +24,6 @@ is_public=$(ynh_app_setting_get --app=$app --key=is_public)
|
||||||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
||||||
admin=$(ynh_app_setting_get --app=$app --key=admin)
|
|
||||||
password=$(ynh_app_setting_get --app=$app --key=password)
|
|
||||||
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
|
phpversion=$(ynh_app_setting_get --app="$app" --key=phpversion)
|
||||||
timezone=$(cat /etc/timezone)
|
timezone=$(cat /etc/timezone)
|
||||||
|
|
||||||
|
@ -160,12 +158,9 @@ pushd "$final_path"
|
||||||
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
|
ynh_exec_warn_less curl -sS https://getcomposer.org/installer | php$phpversion -- --version="1.10.16" --install-dir="$final_path" \
|
||||||
&& php$phpversion composer.phar config --global discard-changes true --quiet \
|
&& php$phpversion composer.phar config --global discard-changes true --quiet \
|
||||||
&& php$phpversion composer.phar update --no-interaction --quiet \
|
&& php$phpversion composer.phar update --no-interaction --quiet \
|
||||||
&& php$phpversion composer.phar movim:migrate --quiet \
|
&& php$phpversion composer.phar movim:migrate --quiet
|
||||||
&& php$phpversion daemon.php config --username=$admin --password=$password --quiet
|
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#&& php$phpversion composer.phar install --no-interaction --quiet \
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SYSTEMD
|
# SETUP SYSTEMD
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue