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

Merge branch 'testing' of https://github.com/YunoHost-Apps/2FAuth_ynh into testing

This commit is contained in:
ericgaspar 2022-04-07 15:52:10 +02:00
commit d6afd6f5c2
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 12 additions and 4 deletions

View file

@ -15,7 +15,7 @@
},
"license": "AGPL-3.0",
"maintainer": {
"name": "",
"name": "eric_G",
"email": ""
},
"requirements": {

View file

@ -114,14 +114,22 @@ ynh_script_progression --message="Installing $app with Composer..." --weight=15
ynh_install_composer #--install_args="--ignore-platform-reqs"
#=================================================
# ADD A CONFIGURATION
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
# Setup application config
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
chmod 400 "$final_path/.env"
chown $app:$app "$final_path/.env"
#=================================================
# BUILDING
#=================================================
ynh_script_progression --message="Building..." --weight=10
# Setup application config
ynh_add_config --template="../conf/.env.example" --destination="$final_path/.env"
# Setup application config
pushd $final_path
php$phpversion artisan migrate:refresh -n