generated from boboko/starter
Fix: Adding comments to entrypoint
This commit is contained in:
@@ -33,7 +33,10 @@ if [ "$APP_ENV" != "production" ]; then
|
|||||||
echo "[entrypoint] Running migrations..."
|
echo "[entrypoint] Running migrations..."
|
||||||
rm -f storage/framework/migrated
|
rm -f storage/framework/migrated
|
||||||
php artisan migrate --force
|
php artisan migrate --force
|
||||||
|
echo "[entrypoint] Touching migrated file"
|
||||||
touch storage/framework/migrated
|
touch storage/framework/migrated
|
||||||
|
echo "[entrypoint] Touched migrated file"
|
||||||
|
|
||||||
|
|
||||||
# boboko/core overrides lunar:install to skip the interactive prompts (migrate
|
# boboko/core overrides lunar:install to skip the interactive prompts (migrate
|
||||||
# confirm, admin creation, GitHub star) and just seed the idempotent store
|
# confirm, admin creation, GitHub star) and just seed the idempotent store
|
||||||
@@ -41,6 +44,7 @@ if [ "$APP_ENV" != "production" ]; then
|
|||||||
# product type. queue/scheduler wait on the marker above rather than running
|
# product type. queue/scheduler wait on the marker above rather than running
|
||||||
# this themselves, since the country import's check-then-insert isn't safe to
|
# this themselves, since the country import's check-then-insert isn't safe to
|
||||||
# run concurrently.
|
# run concurrently.
|
||||||
|
echo "[entrypoint] Trying Lunar install"
|
||||||
php artisan lunar:install --quiet || true
|
php artisan lunar:install --quiet || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user