Compare commits

..

1 Commits

Author SHA1 Message Date
Armel van Ravels
0c1a339063 Add startup instructions
Some checks failed
PHP Composer / build (pull_request) Failing after 4s
2024-08-30 23:12:28 +02:00
4 changed files with 9 additions and 9 deletions

View File

@@ -27,7 +27,7 @@ jobs:
with: with:
go-version: '1.20' go-version: '1.20'
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1 - uses: actions/go-hashfiles@v0.0.1
id: get-hash id: get-hash
with: with:
patterns: |- patterns: |-

View File

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

View File

@@ -7,8 +7,6 @@ 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