From: Dan Brown Date: Sat, 4 Mar 2017 08:53:55 +0000 (+0000) Subject: Added force to installation script keygen. X-Git-Url: http://source.bookstackapp.com/devops/commitdiff_plain/0bc4908bd78f279e3035c455cad7ab2d1c393fb1 Added force to installation script keygen. Closes #6. Fixes BookStackApp/BookStack#333. --- diff --git a/scripts/installation-ubuntu-16.04.sh b/scripts/installation-ubuntu-16.04.sh index 67be0f8..42c281f 100644 --- a/scripts/installation-ubuntu-16.04.sh +++ b/scripts/installation-ubuntu-16.04.sh @@ -50,7 +50,7 @@ sed -i.bak 's/DB_DATABASE=.*$/DB_DATABASE=bookstack/' .env sed -i.bak 's/DB_USERNAME=.*$/DB_USERNAME=bookstack/' .env sed -i.bak "s/DB_PASSWORD=.*\$/DB_PASSWORD=$DB_PASS/" .env # Generate the application key -php artisan key:generate --no-interaction +php artisan key:generate --no-interaction --force # Migrate the databases php artisan migrate --no-interaction --force