mirror of
https://github.com/YunoHost-Apps/2FAuth_ynh.git
synced 2024-09-03 20:36:18 +02:00
Fix
This commit is contained in:
parent
a29b536101
commit
90bb4eecdc
3 changed files with 12 additions and 5 deletions
|
@ -79,7 +79,7 @@ SESSION_DRIVER=file
|
|||
# Refer your email provider documentation to configure your mail settings
|
||||
# Set a value for every available setting to avoid issue
|
||||
|
||||
MAIL_DRIVER=log
|
||||
MAIL_DRIVER=smtp
|
||||
MAIL_HOST=localhost
|
||||
MAIL_PORT=25
|
||||
MAIL_FROM=admin@__DOMAIN__
|
||||
|
|
|
@ -112,7 +112,7 @@ ynh_add_fpm_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing $app with Composer..." --weight=15
|
||||
|
||||
ynh_install_composer #--install_args="--ignore-platform-reqs"
|
||||
ynh_install_composer --install_args="--prefer-dist --no-scripts --no-dev"
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
|
@ -139,6 +139,10 @@ pushd $final_path
|
|||
php$phpversion artisan key:generate -n
|
||||
popd
|
||||
|
||||
chmod 775 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
||||
#=================================================
|
||||
# SETUP SSOWAT
|
||||
#=================================================
|
||||
|
|
|
@ -112,7 +112,7 @@ ynh_add_fpm_config
|
|||
#=================================================
|
||||
ynh_script_progression --message="Installing $app with Composer..." --weight=15
|
||||
|
||||
ynh_install_composer
|
||||
ynh_install_composer --install_args="--prefer-dist --no-scripts --no-dev"
|
||||
|
||||
#=================================================
|
||||
# BUILDING
|
||||
|
@ -121,10 +121,13 @@ ynh_script_progression --message="Building..." --weight=10
|
|||
|
||||
# Setup application config
|
||||
pushd $final_path
|
||||
php$phpversion artisan cache:clear
|
||||
php$phpversion artisan config:clear
|
||||
php$phpversion artisan migrate -n
|
||||
#php$phpversion artisan passport:install -n
|
||||
php$phpversion artisan passport:install -n
|
||||
#php$phpversion artisan storage:link -n
|
||||
php$phpversion artisan config:clear -n
|
||||
php$phpversion artisan config:cache -n
|
||||
php$phpversion artisan route:cache
|
||||
popd
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue