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
c23cd15c12
commit
a0f4fd8c8a
1 changed files with 4 additions and 9 deletions
|
@ -61,6 +61,9 @@ ynh_script_progression --message="Configuring NGINX web server..."
|
||||||
# Create a dedicated NGINX config
|
# Create a dedicated NGINX config
|
||||||
ynh_add_nginx_config
|
ynh_add_nginx_config
|
||||||
|
|
||||||
|
# Create a dedicated systemd config
|
||||||
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SPECIFIC SETUP
|
# 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"
|
chmod 400 "$install_dir/config/db.inc.php"
|
||||||
chown $app:$app "$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
|
# BUILD MOVIM
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -88,7 +83,7 @@ ynh_script_progression --message="Building Movim..."
|
||||||
|
|
||||||
# Install composer
|
# Install composer
|
||||||
ynh_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
|
pushd $install_dir
|
||||||
ynh_exec_as $app php$phpversion composer.phar install
|
ynh_exec_as $app php$phpversion composer.phar install
|
||||||
|
|
Loading…
Add table
Reference in a new issue