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:
go-version: '1.20'
- uses: https://gitea.com/actions/go-hashfiles@v0.0.1
- uses: actions/go-hashfiles@v0.0.1
id: get-hash
with:
patterns: |-

View File

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

View File

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