From 3f95d8278fc20cdc53936ee8eac2361a12440312 Mon Sep 17 00:00:00 2001
From: Fibinger Ádám <adam.fibinger@wup.hu>
Date: Fri, 22 Oct 2021 23:45:54 +0200
Subject: [PATCH] Documentation, Composer and test configuration fixes

---
 README.md |   26 +++++++++++++++++++++++---
 1 files changed, 23 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index f269d63..4d792bb 100644
--- a/README.md
+++ b/README.md
@@ -25,9 +25,10 @@
 ```
 git clone https://shr:yRmglFOqNMbwpnuhP5iy@git.unr.hu/r/shoprenter-secretserver.git secretserver.website.tld
 cd secretserver.website.tld
+composer install --no-dev
 ```
 
-This is gonna create an Sqlite DB (or anything else if you changed the config) with the correct schema (you can check the .env file about the details) in the project dir (`var/data.db`):
+This is will create an Sqlite DB (or anything else if you changed the config) with the correct schema (you can check the .env file about the details) in the project dir (`var/data.db`):
 
 ```
 php bin/console doctrine:database:create
@@ -55,7 +56,26 @@
 
 #### Locally
 Fire up this baby:
-`symfony server:start`
+```
+symfony server:start
+```
 
 ### Deploy
-Only god knows what you are using (Apache, Nginx, Windows Server), you can configure as a normal symfony project: https://symfony.com/doc/current/setup/web_server_configuration.html
+Only God knows what you are using (Apache, Nginx, Windows Server), you can configure as a normal symfony project: https://symfony.com/doc/current/setup/web_server_configuration.html
+
+## Testing
+
+### Installing dev libraries
+If you followed point-by-point your version of the project does not contains dev libraries, you have to install it: 
+```
+composer install
+```
+And get the tests running:
+```
+php bin/phpunit
+```
+Probably you will get some errors, most likely the recent removal of monolog from default Symfony install.
+My only option would be to mask up, but I prefer not to: https://github.com/liip/LiipTestFixturesBundle/issues/135
+
+### Questions
+Are welcome @ (vfiber@gmail.com)[mailto:vfiber@gmail.com] / (adam.fibinger@gmail.com)[mailto:adam.fibinger@gmail.com]

--
Gitblit v1.8.0