init fresh installation
All checks were successful
dockers/pixelfed/pipeline/head This commit looks good

This commit is contained in:
chris 2020-05-29 13:12:33 +02:00
parent cadf7303a8
commit 108693a7e4

View file

@ -1,8 +1,16 @@
#!/usr/bin/env bash
cd /var/www
cp -r storage.skel/* storage/
if [[ ! -e storage/.docker.init ]];
then
echo "Fresh installation, initializing database..."
php artisan migrate:fresh --force
php artisan passport:install
chown www-data:www-data storage/oauth*key
echo done > storage/.docker.init
fi
php artisan storage:link
php artisan horizon:assets
php artisan route:cache