autogen key

pull/1/head
chris 2020-05-29 16:01:37 +02:00
parent 6161f2b9b1
commit f08b986e67
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ cp -r storage.skel/* storage/
if [[ ! -e storage/.docker.init ]];
then
echo "Fresh installation, initializing database..."
php artisan key:generate
php artisan migrate:fresh --force
php artisan passport:install
chown www-data:www-data storage/oauth*key