auto-generate app key

This commit is contained in:
Sebastian Gumprich
2021-10-30 19:07:26 +02:00
parent c2721be22b
commit 5d4a640f2a
2 changed files with 6 additions and 5 deletions
+2 -1
View File
@@ -144,9 +144,10 @@ ynh_script_progression --message="Building the application..."
pushd "$final_path"
# Run the database migrations and initially fill the db
php$phpversion artisan optimize --no-interaction --verbose
php$phpversion artisan key:generate --no-interaction --verbose
php$phpversion artisan migrate:fresh --seed --no-interaction --verbose --force
php$phpversion artisan ninja:create-account --email $email --password changeme --no-interaction --verbose
php$phpversion artisan optimize --no-interaction --verbose
php$phpversion artisan view:clear
php$phpversion artisan cache:clear
popd