2024-01-10 14:40:56 +03:00
|
|
|
start:
|
2024-01-11 14:40:06 +03:00
|
|
|
php artisan serve
|
2024-01-10 14:40:56 +03:00
|
|
|
|
|
|
|
start-frontend:
|
|
|
|
npm run dev
|
|
|
|
|
|
|
|
setup:
|
|
|
|
composer install
|
|
|
|
cp -n .env.example .env
|
|
|
|
php artisan key:gen --ansi
|
|
|
|
touch database/database.sqlite
|
2024-02-07 16:34:24 +03:00
|
|
|
php artisan migrate:refresh
|
2024-01-10 14:40:56 +03:00
|
|
|
php artisan db:seed
|
|
|
|
npm ci
|
|
|
|
npm run build
|
|
|
|
make ide-helper
|
|
|
|
|
2024-02-05 10:05:57 +03:00
|
|
|
setup-test:
|
2024-02-10 14:36:40 +03:00
|
|
|
composer install
|
|
|
|
cp -n .env.example .env
|
2024-02-05 10:05:57 +03:00
|
|
|
php artisan key:gen --ansi
|
|
|
|
touch database/database.sqlite
|
2024-02-10 15:01:57 +03:00
|
|
|
php artisan migrate:refresh
|
2024-02-05 10:05:57 +03:00
|
|
|
php artisan db:seed
|
|
|
|
npm ci
|
|
|
|
npm run build
|
|
|
|
|
2024-01-10 14:40:56 +03:00
|
|
|
watch:
|
|
|
|
npm run watch
|
|
|
|
|
|
|
|
migrate:
|
|
|
|
php artisan migrate
|
|
|
|
|
|
|
|
console:
|
|
|
|
php artisan tinker
|
|
|
|
|
|
|
|
log:
|
|
|
|
tail -f storage/logs/laravel.log
|
|
|
|
|
|
|
|
test:
|
|
|
|
php artisan test
|
|
|
|
|
|
|
|
test-coverage:
|
|
|
|
XDEBUG_MODE=coverage php artisan test --coverage-clover build/logs/clover.xml
|
|
|
|
|
|
|
|
deploy:
|
|
|
|
git push heroku
|
|
|
|
|
|
|
|
lint:
|
|
|
|
composer exec phpcs -- --standard=PSR12 app routes tests
|
|
|
|
|
|
|
|
lint-fix:
|
|
|
|
composer exec phpcbf -- --standard=PSR12 app routes tests
|
|
|
|
|
|
|
|
ide-helper:
|
|
|
|
php artisan ide-helper:eloquent
|
|
|
|
php artisan ide-helper:gen
|
|
|
|
php artisan ide-helper:meta
|
|
|
|
php artisan ide-helper:mod -n
|