Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • release_3.0.0
  • test
  • feature_pre_sql
  • develop
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
25 results

sygal-import-ws

  • Clone with SSH
  • Clone with HTTPS
  • Application SyGAL

    SYstème de Gestion et d'Accompagement doctoraL

    Documentation

    Allez à l'adresse suivante et pensez bien à sélectionner la branche correspondant à la version voulue (ex: 1.1.4) : https://git.unicaen.fr/open-source/sygal-doc/blob/master/README.md

    Lancement de l'application pour le dévelopement

    En dev, on monte les sources (répertoire courant) dans un volume.

    Avec docker-compose

    docker-compose up -d --build

    Enlever le -d (detached) pour voir les logs en direct.

    Sans docker-compose

    docker build \
    --add-host="proxy.unicaen.fr:10.14.128.99" \
    --add-host="svn.unicaen.fr:10.14.129.44" \
    --build-arg PHP_VERSION=7.0 \
    --build-arg HTTP_PROXY="http://proxy.unicaen.fr:3128" \
    --build-arg HTTPS_PROXY="http://proxy.unicaen.fr:3128" \
    --build-arg NO_PROXY=".unicaen.fr,localhost" \
    -t unicaen/sygal-php7-dev-image \
    .

    NB: Il est possible de spécifier le proxy par son adresse IP mais il ne faut pas oublier de mettre http:// devant (càd: --build-arg http_proxy="http://10.14.128.99:3128").

    Run :

    docker run \
    --rm \
    -d \
    -p 8080:80 \
    -p 8443:443 \
    -v ${PWD}:/app \
    --dns=10.14.128.125 \
    --dns-search=unicaen.fr \
    --name sygal-php7-dev-container \
    unicaen/sygal-php7-dev-image

    Debug

    CLI

    docker exec -it sygal-php7-dev-container \
    bash -c "\
    export XDEBUG_CONFIG='remote_host=172.17.0.1' && \
    export PHP_IDE_CONFIG='serverName=docker' && \
    php ./public/index.php process-observed-import-results"
    • 172.17.0.1 est l'IP obtenue avec la commande docker network inspect bridge | grep Gateway
    • docker est le nom du serveur correspondant au container Docker, à configurer dans PHPStorm.