From 839b27756afc1618e1e1e28e2917de8819699fe4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Meyer?= Date: Mon, 30 Jun 2025 00:50:03 +0200 Subject: [PATCH] Konflikt mit README.md --- README.md | 50 +++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 45 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index b0b41e6..67b02d0 100644 --- a/README.md +++ b/README.md @@ -2,11 +2,14 @@ ## DEV/STAGE environments -| LV | HOSTER | DOMAIN | BRANCH | -| ------ | -------- | ------------------------------------------------------------ | ------------------ | -| DTFB | Kicktemp | [stage.dtfb.de](https://stage.dtfb.de) | dev | -| TFVHH | Kicktemp | [stage.kickern-hamburg.de](https://stage.kickern-hamburg.de) | dev | -| STFVH | DTFB | [stage.stfv.de](https://stage.stfv.de/) | sportsmanager2-dev | +| LV | HOSTER | DOMAIN | BRANCH | +| ------ | -------- | ------------------------------------------------------------ | -------------------- | +| DTFB | Kicktemp | [stage.dtfb.de](https://stage.dtfb.de) | dev | +| TFVHH | Kicktemp | [stage.kickern-hamburg.de](https://stage.kickern-hamburg.de) | dev | +| STFVH | DTFB | [stage.stfv.de](https://stage.stfv.de/) | sportsmanager2-stage | +| MTFV | DTFB | [stage.mtfv.de](https://stage.mtfv.de/) | ? | +| TFVSH | DTFB | [relaunch.tfvsh.de](https://relaunch.tfvsh.de) | ? | + ## PROD environments @@ -46,3 +49,40 @@ joomla specific database prefixes like #__ To set it up, insert into the configuration popup which follows after you enable the framework support: Joomla install path: `./data/joomla_data` JConfig: `./data/joomla_data/configuration.php` +> This works only with mounted volumes. However, mounted volumes will slow down the joomla instance significantly. +> The current setup does not use mounted volumes. +> An alternative would be to download joomla and use that installation + +### Debugging (with Docker/Intellij) +1. Start Docker Container (see above) +2. Create a terminal for that container + ```shell + docker exec -it bash + ``` +3. install xdebug within the container since joomla does not come with xdebug preinstalled + ```shell + pecl install xdebug + ``` +4. restart the container +5. In Intellij Go to [File | Settings | Languages & Frameworks | PHP | Servers](jetbrains://idea/settings?name=Languages+%26+Frameworks--PHP--Servers) and setup your server + + | | | + |----------|-----------| + | name | anything | + | host | localhost | + | port | 8080 | + | debugger | xdebug | + + use the path mapping and map the repo structure to the container content + + | File/Directory | path on server | + |------------------------------------------------------------------|----------------------------------------| + | \/com_sportsmanager/src/structure/administrator/components | /var/www/html/administrator/components | + | \/com_sportsmanager/src/structure/components | /var/www/html/components | + +7. Click on "Start Listening for PHP Debug Connections" in the top row of intellij +8. (Not sure if optional) Install a browser extension by Jetbrains +https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm + +======= +