From 245b88bf31d2d3aece5f19b77c3b089f1a763609 Mon Sep 17 00:00:00 2001 From: tristan Date: Fri, 23 Jan 2026 17:16:40 +0100 Subject: [PATCH] feat : ajout de la doc et modification de la conf docker --- .idea/php.xml | 88 +++++++++++++++++++++---------------------- README.md | 35 +++++++++++++++++ docker-compose.yml | 2 +- docker/php/Dockerfile | 2 +- 4 files changed, 81 insertions(+), 46 deletions(-) create mode 100644 README.md diff --git a/.idea/php.xml b/.idea/php.xml index 58c2b13..411ed9b 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -12,78 +12,78 @@ - - - - - - - - - - - - - - - - - - - - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + - + - - + - + - + - + - + + + + + + + + + + + + + + + + + + + + + diff --git a/README.md b/README.md new file mode 100644 index 0000000..c313705 --- /dev/null +++ b/README.md @@ -0,0 +1,35 @@ +# Bundle Malio ednotif + +## Installation prod +```json +{ + "repositories": [ + { + "type": "vcs", + "url": "https://gitea.malio.fr/MALIO-DEV/ednotif-bundle" + } + ] +} +``` +## Utilisation en dev +Pour le développement, vous pouvez utiliser une configuration de type "path" dans votre fichier `composer.json` plutôt que de configurer le dépôt Git. Cette approche est plus pratique pour tester des modifications locales : + +```json +{ + "repositories": [ + { + "type": "path", + "url": "../soap-generator-bundle", + "options": { + "symlink": true + } + } + ] +} +``` + +Dans le docker-composer.yaml +```yaml +volumes: + - ../ednotif-bundle:/var/www/html/ednotif-bundle +``` diff --git a/docker-compose.yml b/docker-compose.yml index 71400a7..bc9cd16 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -15,5 +15,5 @@ services: extra_hosts: - "host.docker.internal:${CLIENT_HOST:-0.0.0.0}" volumes: - - ./:/app + - ./:/var/www/html - ./docker/php/config/docker-php-ext-xdebug.ini:/usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini \ No newline at end of file diff --git a/docker/php/Dockerfile b/docker/php/Dockerfile index 9f5d7e4..c58886f 100644 --- a/docker/php/Dockerfile +++ b/docker/php/Dockerfile @@ -36,4 +36,4 @@ RUN rm -rf \ /tmp/* \ /var/tmp/* -WORKDIR /app \ No newline at end of file +WORKDIR /var/www/html \ No newline at end of file