.PHONY: all install migrate seed pint phpstan

all: install migrate seed

install:
	php artisan config:clear
	php artisan cache:clear
	php artisan route:clear
	php artisan view:clear
	php artisan optimize:clear

migrate:
	php artisan migrate:fresh --seed
	php artisan module:seed

seed:
	php artisan passport:client --personal
    php artisan passport:keys

pint:
	./vendor/bin/pint

phpstan:
	./vendor/bin/phpstan analyse

# php artisan serve --host=192.168.68.84 --port=8000
# composer require laravel/pulse --ignore-platform-reqs
# php artisan passport:keys
# composer i --ignore-platform-req=ext-pcntl --ignore-platform-req=ext-posix
# ......

# php artisan scout:sync-index-settings

setting:
# php artisan setting:sync google_merchant_code

# google_merchant_code
# tiktok_pixel_code
# pinterest_pixel_code
# pathao_base_url
# pathao_webhook_url
# pathao_webhook_secret
# shipping_costs
