generated from boboko/starter
Feat: Updating Entrypoint to setup lunar meilisearch
This commit is contained in:
@@ -51,6 +51,7 @@ if [ "$APP_ENV" != "production" ]; then
|
|||||||
# Upserts by primary key (no --refresh), so this stays cheap and idempotent on
|
# 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.
|
# every boot rather than flushing and rebuilding the whole index each time.
|
||||||
echo "[entrypoint] Syncing search indexes..."
|
echo "[entrypoint] Syncing search indexes..."
|
||||||
|
php artisan lunar:meilisearch:setup
|
||||||
php artisan lunar:search:index --quiet || true
|
php artisan lunar:search:index --quiet || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user