diff --git a/init.sh b/init.sh index 8202b33..9e8e41a 100755 --- a/init.sh +++ b/init.sh @@ -98,7 +98,7 @@ else php artisan db:seed --class=PermissionsSeeder --force --no-interaction fi -php artisan h5p:storage-link +php artisan h5p:storage-link --overwrite touch inited diff --git a/init_multidomains.sh b/init_multidomains.sh index e28d85f..d516563 100755 --- a/init_multidomains.sh +++ b/init_multidomains.sh @@ -139,7 +139,7 @@ if [ -n "$MULTI_DOMAINS" ]; then php artisan db:seed --domain=$domain --class=PermissionsSeeder --force --no-interaction fi - php artisan h5p:storage-link --domain=$domain + php artisan h5p:storage-link --overwrite --domain=$domain done else diff --git a/makefile b/makefile index 7f8e8bf..95fc9c2 100644 --- a/makefile +++ b/makefile @@ -30,6 +30,7 @@ restart_queue_cron: update-composer-to-git: - git checkout develop - git pull + - docker compose up -d api - docker compose exec --user=1000 api bash -c "XDEBUG_MODE=off composer update --no-scripts" - git add composer.lock - git commit -m "updating dependecies"