2025-06-30 00:52:54 +02:00
2025-06-09 16:58:45 +02:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2020-12-04 11:11:35 +01:00
2025-06-30 00:52:54 +02:00

SportsManager

DEV/STAGE environments

LV HOSTER DOMAIN BRANCH
DTFB Kicktemp stage.dtfb.de dev
TFVHH Kicktemp stage.kickern-hamburg.de dev
STFVH DTFB stage.stfv.de sportsmanager2-stage
MTFV DTFB stage.mtfv.de ?
TFVSH DTFB relaunch.tfvsh.de ?

PROD environments

LV HOSTER DOMAIN BRANCH
DTFB Kicktemp dtfb.de production
TFVHH Kicktemp kickern-hamburg.de production
MTFV DTFB mtfv.de sportsmanager2-prod
TFVSH DTFB tfvsh.de sportsmanager2-prod
STFVH DTFB stfv.de sportsmanager2-prod

Test setup

Installation

To start joomla and the database, run

   docker-compose up -d

Release creation

To create a release execute

    npm run release

Deployment

Deployment can only be done manually right now (sad)
To do this go to Testserver Extension Installer Site and upload the zip file found in ./package/packages

Development Tools

If you are using Intellij, there is a plugin named Joomla! which helps with resolving 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

      docker exec -it <container_name> bash
    
  3. install xdebug within the container since joomla does not come with xdebug preinstalled

      pecl install xdebug
    
  4. restart the container

  5. In Intellij Go to File | Settings | Languages & 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
    <path>/com_sportsmanager/src/structure/administrator/components /var/www/html/administrator/components
    <path>/com_sportsmanager/src/structure/components /var/www/html/components
  6. Click on "Start Listening for PHP Debug Connections" in the top row of intellij

  7. (Not sure if optional) Install a browser extension by Jetbrains
    https://chromewebstore.google.com/detail/xdebug-helper-by-jetbrain/aoelhdemabeimdhedkidlnbkfhnhgnhm

=======

Test

S
Description
No description provided
Readme 10 MiB
Languages
PHP 99.2%
JavaScript 0.8%