Compare commits

..

2 Commits

Author SHA1 Message Date
e6bc890bd4 Merge pull request 'Add running instructions to readme and fix Makefile' (#2) from chore/make-public into master
Some checks failed
PHP Composer / build (push) Has been cancelled
Reviewed-on: #2
2025-05-28 16:26:56 +02:00
Armel van Ravels
66ee9d55bf Add running instructions to readme and fix Makefile
Some checks failed
PHP Composer / build (pull_request) Has been cancelled
2025-05-28 16:23:36 +02:00
3 changed files with 8 additions and 8 deletions

View File

@@ -1,19 +1,17 @@
EXEC="docker compose exec php"
up: up:
docker compose up -d docker compose up -d
start: up composer-install start: up composer-install
composer-install: composer-install:
"$(EXEC)" composer install docker compose exec -T php composer install
stop: stop:
docker compose stop docker compose stop
cmd: cmd:
"$(EXEC)" sh docker compose exec php sh
phpstan: phpstan:
"$(EXEC)" vendor/bin/phpstan analyse src --level 8 docker compose exec -T php vendor/bin/phpstan analyse src --level 8
cs-fix: cs-fix:
"$(EXEC)" vendor/bin/php-cs-fixer fix --allow-risky=yes docker compose exec -T php vendor/bin/php-cs-fixer fix --allow-risky=yes
test: test:
"$(EXEC)" vendor/bin/pest docker compose exec -T php vendor/bin/pest

View File

@@ -7,6 +7,8 @@ cp .env.example .env
make start make start
``` ```
You will now have a webserver running on localhost:443 and localhost:80
### How to stop ### How to stop
``` ```
make stop make stop