social-network-api/Makefile
Víctor Martínez 992381964e first commit
2021-01-13 01:51:48 +01:00

18 lines
335 B
Makefile

setup_project:
composer install && php artisan key:generate
run: up
sleep 20 && \
./vendor/bin/sail artisan migrate && \
./vendor/bin/sail artisan passport:install --force
up: down
./vendor/bin/sail up -d &
down:
./vendor/bin/sail down
tests_local_run:
./vendor/bin/sail test --testsuite=Feature --stop-on-failure $(ARGS)