1
0
Fork 0
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:
Éric Gaspar 2023-09-28 12:24:16 +02:00
parent c23cd15c12
commit a0f4fd8c8a

View file

@ -61,6 +61,9 @@ ynh_script_progression --message="Configuring NGINX web server..."
# Create a dedicated NGINX config
ynh_add_nginx_config
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# SPECIFIC SETUP
#=================================================
@ -73,14 +76,6 @@ ynh_add_config --template="../conf/db.example.inc.php" --destination="$install_d
chmod 400 "$install_dir/config/db.inc.php"
chown $app:$app "$install_dir/config/db.inc.php"
#=================================================
# SETUP SYSTEMD
#=================================================
ynh_script_progression --message="Configuring a systemd service..."
# Create a dedicated systemd config
ynh_add_systemd_config
#=================================================
# BUILD MOVIM
#=================================================
@ -88,7 +83,7 @@ ynh_script_progression --message="Building Movim..."
# Install composer
ynh_install_composer
ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir"
#ynh_exec_warn_less ynh_install_composer --phpversion="$phpversion" --workdir="$install_dir"
pushd $install_dir
ynh_exec_as $app php$phpversion composer.phar install