1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bookstack_ynh.git synced 2024-09-03 18:16:02 +02:00
This commit is contained in:
ericgaspar 2021-12-16 14:07:46 +01:00
parent 6664d0fc38
commit 5e462e4b71
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
YNH_PHP_VERSION="7.3" YNH_PHP_VERSION="7.3"
pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd" pkg_dependencies="php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-session php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd"
YNH_COMPOSER_VERSION=2.1.1 YNH_COMPOSER_VERSION=2.1.1

View file

@ -114,7 +114,7 @@ ynh_add_fpm_config
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"
#================================================= #=================================================
# FINAL BOOKSTACK INSTALL # FINAL BOOKSTACK INSTALL
@ -123,9 +123,9 @@ 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
chmod 755 $final_path chmod 755 $final_path