Skip to content
Snippets Groups Projects
Select Git revision
  • b7931398319959888f161f09be030f784b7dea6e
  • master default protected
  • 5.x
  • ll-php8-bs5
  • release_5_bs5
  • ll-php8
  • 4.x
  • laminas_migration
  • release_1.0.0.2
  • release_4.0.0
  • release_3.2.8
  • bootstrap4_migration
  • 1.0.0.3
  • 6.0.7
  • 6.0.6
  • 6.0.5
  • 6.0.4
  • 6.0.3
  • 6.0.2
  • 6.0.1
  • 5.1.1
  • 6.0.0
  • 5.1.0
  • 5.0.0
  • 4.0.2
  • 3.2.11
  • 4.0.1
  • 3.2.10
  • 4.0.0
  • 1.0.0.2
  • 3.2.9
  • 3.2.8
32 results

Module.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    install.sh 1002 B
    #!/usr/bin/env bash
    
    #
    # This script runs required operations in order to set up the application.
    #
    
    # Composer install
    composer install --no-dev --no-suggest --optimize-autoloader
    
    # mpdf/mpdf/ttfontdata dir access
    #chown -R www-data:root vendor/mpdf/mpdf/ttfontdata && chmod -R 770 vendor/mpdf/mpdf/ttfontdata
    
    # Répertoire d'upload par défaut
    #mkdir -p upload && chown -R www-data:root upload && chmod -R 770 upload
    
    # Répertoires de travail de Doctrine
    mkdir -p data/cache                   && chmod -R 777 data/cache
    mkdir -p data/DoctrineModule/cache    && chmod -R 777 data/DoctrineModule/cache
    mkdir -p data/DoctrineORMModule/Proxy && chmod -R 777 data/DoctrineORMModule/Proxy
    rm -rf data/cache/*
    rm -rf data/DoctrineModule/cache/*
    rm -rf data/DoctrineORMModule/Proxy/*
    
    # Commandes Doctrine
    vendor/bin/doctrine-module orm:clear-cache:query
    vendor/bin/doctrine-module orm:clear-cache:metadata
    vendor/bin/doctrine-module orm:clear-cache:result
    vendor/bin/doctrine-module orm:generate-proxies