All the code

This commit is contained in:
Marijn Doeve
2024-09-24 22:58:38 +02:00
commit 05f07e9759
49 changed files with 7943 additions and 0 deletions

34
Makefile Normal file
View File

@@ -0,0 +1,34 @@
.PHONY: start
start: up serve
.PHONY: serve
serve:
symfony serve
.PHONY: bootstrap
bootstrap: up install migrate fixtures start
.PHONY: up
up:
docker compose up -d
sleep 5 # Sorry, a wait with mysql would be better
.PHONY: fixtures
fixtures:
bin/console doctrine:fixtures:load --no-interaction
.PHONY: install
install:
composer install
.PHONY: migrate
migrate:
bin/console doctrine:migrations:migrate --no-interaction
.PHONY: refresh
refresh: clean bootstrap
.PHONY: clean
clean:
docker compose down -v
rm -rf vendor var