mirror of
https://github.com/YunoHost-Apps/bookstack_ynh.git
synced 2024-09-03 18:16:02 +02:00
Update upgrade
This commit is contained in:
parent
502e068e34
commit
2028fcd2c4
1 changed files with 16 additions and 20 deletions
|
@ -87,10 +87,6 @@ then
|
||||||
|
|
||||||
ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
|
ynh_add_config --template=../conf/.env.example --destination=$final_path/.env
|
||||||
chmod 600 $final_path/.env
|
chmod 600 $final_path/.env
|
||||||
|
|
||||||
pushd $final_path
|
|
||||||
ynh_install_composer --install_args="--no-dev" && php$phpversion artisan migrate --no-interaction --force
|
|
||||||
popd
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 755 $final_path
|
chmod 755 $final_path
|
||||||
|
@ -120,25 +116,25 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
|
||||||
# Create a dedicated PHP-FPM config
|
# Create a dedicated PHP-FPM config
|
||||||
ynh_add_fpm_config
|
ynh_add_fpm_config
|
||||||
|
|
||||||
# #=================================================
|
#=================================================
|
||||||
# # INSTALL LYCHEE WITH COMPOSER
|
# INSTALL LYCHEE WITH COMPOSER
|
||||||
# #=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
|
ynh_script_progression --message="Installing BookStack with Composer..." --weight=5
|
||||||
|
|
||||||
# # Install composer
|
# Install composer
|
||||||
# ynh_install_composer --install_args="--no-dev" && php$phpversion artisan migrate --no-interaction
|
ynh_install_composer --install_args="--no-dev" && php$phpversion artisan migrate --no-interaction
|
||||||
|
|
||||||
# #=================================================
|
#=================================================
|
||||||
# # FINAL BOOKSTACK INSTALL
|
# FINAL BOOKSTACK INSTALL
|
||||||
# #=================================================
|
#=================================================
|
||||||
# ynh_script_progression --message="Install BookStack" --weight=5
|
ynh_script_progression --message="Install BookStack" --weight=5
|
||||||
|
|
||||||
# pushd $final_path
|
pushd $final_path
|
||||||
# php$phpversion artisan migrate --no-interaction
|
php$phpversion artisan migrate --no-interaction
|
||||||
# php$phpversion artisan cache:clear --no-interaction
|
php$phpversion artisan cache:clear --no-interaction
|
||||||
# php$phpversion artisan config:clear --no-interaction
|
php$phpversion artisan config:clear --no-interaction
|
||||||
# php$phpversion artisan view:clear --no-interaction
|
php$phpversion artisan view:clear --no-interaction
|
||||||
# popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# RELOAD NGINX
|
# RELOAD NGINX
|
||||||
|
|
Loading…
Reference in a new issue