1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/firefly-iii_ynh.git synced 2024-09-03 18:36:13 +02:00

Update install

This commit is contained in:
Philipp Stappert 2024-03-20 12:45:41 +01:00 committed by GitHub
parent e49335b5b9
commit 6cc01ab285
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -39,9 +39,6 @@ ynh_setup_source --dest_dir=$install_dir
chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir"
ls -al "$install_dir"
chmod -R 775 $install_dir/storage
#=================================================
@ -55,13 +52,6 @@ ynh_add_nginx_config
#=================================================
# SPECIFIC SETUP
#=================================================
# INSTALL COMPOSER DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing composer dependencies..."
ynh_exec_warn_less ynh_install_composer --phpversion=$phpversion --workdir=$install_dir
#=================================================
# ADD A CONFIGURATION
#=================================================
@ -72,6 +62,13 @@ ynh_add_config --template=".env" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app "$install_dir/.env"
#=================================================
# INSTALL COMPOSER DEPENDENCIES
#=================================================
ynh_script_progression --message="Installing composer dependencies..."
ynh_exec_warn_less ynh_install_composer --phpversion=$phpversion --workdir=$install_dir
#=================================================
# DEPLOY
#=================================================