mirror of
https://github.com/MarijnDoeve/TijdVoorDeTest.git
synced 2026-03-05 20:44:19 +01:00
Refactor routes for consistency, update season codes, and add Justfile for Docker commands
This commit is contained in:
24
Justfile
Normal file
24
Justfile
Normal file
@@ -0,0 +1,24 @@
|
||||
up:
|
||||
docker compose up -d
|
||||
|
||||
down *args:
|
||||
docker compose down {{ args }} --remove-orphans
|
||||
|
||||
stop:
|
||||
docker compose stop
|
||||
|
||||
exec *args:
|
||||
docker compose exec php {{ args }}
|
||||
|
||||
[no-exit-message]
|
||||
shell:
|
||||
@docker compose exec php bash
|
||||
|
||||
migrate: up
|
||||
docker compose run --rm php bin/console doctrine:migrations:migrate --no-interaction
|
||||
|
||||
fixtures:
|
||||
docker compose exec php bin/console doctrine:fixtures:load --purge-with-truncate --no-interaction
|
||||
|
||||
translations:
|
||||
docker compose exec php bin/console translation:extract --domain=messages --force --format=yaml --sort=asc --clean nl
|
||||
Reference in New Issue
Block a user