Compare commits

...

1 Commits

Author SHA1 Message Date
Armel van Ravels
2477cdba16 Add startup instructions
Some checks failed
PHP Composer / build (pull_request) Has been cancelled
2024-08-30 22:54:02 +02:00
3 changed files with 23 additions and 0 deletions

1
.env.example Normal file
View File

@@ -0,0 +1 @@
ENVIRONMENT=development

View File

@@ -5,6 +5,8 @@ up:
start: up composer-install start: up composer-install
composer-install:
"$(EXEC)" composer install
stop: stop:
docker compose stop docker compose stop
cmd: cmd:
@@ -13,3 +15,5 @@ phpstan:
"$(EXEC)" vendor/bin/phpstan analyse src --level 8 "$(EXEC)" vendor/bin/phpstan analyse src --level 8
cs-fix: cs-fix:
"$(EXEC)" vendor/bin/php-cs-fixer fix --allow-risky=yes "$(EXEC)" vendor/bin/php-cs-fixer fix --allow-risky=yes
test:
"$(EXEC)" vendor/bin/pest

View File

@@ -0,0 +1,18 @@
# Armel.net
### How to run
```
cp .env.example .env
make start
```
### How to stop
```
make stop
```
### How to test
```
make test
```