Skip to content
Snippets Groups Projects
Commit 19bfa418 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

install.sh comme celui de sygal

parent 221d0835
No related branches found
No related tags found
No related merge requests found
Pipeline #16380 passed
#!/usr/bin/env bash
#
# This script runs required operations in order to set up the application.
# Script d'installation des pré-requis de l'application.
#
# Usages :
# ./install.sh
set -o errexit
CURDIR=$(cd `dirname $0` && pwd)
cd ${CURDIR}
# Composer install
......@@ -15,4 +20,8 @@ vendor/bin/doctrine-module orm:clear-cache:metadata
vendor/bin/doctrine-module orm:clear-cache:result
vendor/bin/doctrine-module orm:generate-proxies
composer development-disable
vendor/bin/laminas-development-mode disable
# Création ou vidange des répertoires de cache
mkdir -p data/cache && chmod -R 777 data/cache && rm -rf data/cache/*
mkdir -p data/DoctrineModule/cache && chmod -R 777 data/DoctrineModule/cache && rm -rf data/DoctrineModule/cache/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment