From 2477cdba16955b4aed88cefdd790b5bc55f06452 Mon Sep 17 00:00:00 2001 From: Armel van Ravels Date: Fri, 30 Aug 2024 22:39:46 +0200 Subject: [PATCH] Add startup instructions --- .env.example | 1 + Makefile | 4 ++++ README.md | 18 ++++++++++++++++++ 3 files changed, 23 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..0703741 --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +ENVIRONMENT=development diff --git a/Makefile b/Makefile index 4664082..b142425 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ up: start: up composer-install +composer-install: + "$(EXEC)" composer install stop: docker compose stop cmd: @@ -13,3 +15,5 @@ phpstan: "$(EXEC)" vendor/bin/phpstan analyse src --level 8 cs-fix: "$(EXEC)" vendor/bin/php-cs-fixer fix --allow-risky=yes +test: + "$(EXEC)" vendor/bin/pest \ No newline at end of file diff --git a/README.md b/README.md index e69de29..b7d6e92 100644 --- a/README.md +++ b/README.md @@ -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 +```