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
3fe3c9808e
commit
fc47694aed
2 changed files with 12 additions and 4 deletions
|
@ -15,7 +15,7 @@
|
|||
},
|
||||
"license": "AGPL-3.0",
|
||||
"maintainer": {
|
||||
"name": "",
|
||||
"name": "eric_G",
|
||||
"email": ""
|
||||
},
|
||||
"requirements": {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue