diff --git a/manifest.json b/manifest.json index 9c68453..e1b8b3f 100644 --- a/manifest.json +++ b/manifest.json @@ -15,7 +15,7 @@ }, "license": "AGPL-3.0", "maintainer": { - "name": "", + "name": "eric_G", "email": "" }, "requirements": { diff --git a/scripts/install b/scripts/install index 2032247..0a2ec24 100755 --- a/scripts/install +++ b/scripts/install @@ -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