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:
parent
e49335b5b9
commit
6cc01ab285
1 changed files with 7 additions and 10 deletions
|
@ -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
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue