localization from boboko core and product service too

This commit is contained in:
elvira
2026-08-26 18:28:16 +03:00
parent 092fab8740
commit 90e32e337d
15 changed files with 374 additions and 169 deletions
+7 -1
View File
@@ -6,6 +6,7 @@ set -e
if [ "$APP_ENV" != "production" ]; then
echo "[entrypoint] Installing Composer dependencies..."
git config --global --add safe.directory /var/www/html 2>/dev/null || true
git config --global --add safe.directory /var/www/boboko-core 2>/dev/null || true
composer install --no-interaction --prefer-dist
# Re-resolve boboko/* on every boot, whether it's a local path-repo checkout
@@ -32,7 +33,7 @@ if [ "$APP_ENV" != "production" ]; then
echo "[entrypoint] Running migrations..."
rm -f storage/framework/migrated
php artisan migrate --force
# php artisan migrate --force
echo "[entrypoint] Touching migrated file"
touch storage/framework/migrated
echo "[entrypoint] Touched migrated file"
@@ -46,6 +47,11 @@ if [ "$APP_ENV" != "production" ]; then
# run concurrently.
echo "[entrypoint] Trying Lunar install"
php artisan lunar:install --quiet || true
# Upserts by primary key (no --refresh), so this stays cheap and idempotent on
# every boot rather than flushing and rebuilding the whole index each time.
echo "[entrypoint] Syncing search indexes..."
php artisan lunar:search:index --quiet || true
fi
exec "$@"