nineskeletor/misc/script/reconfigure.sh

17 lines
317 B
Bash
Raw Normal View History

2024-06-30 12:06:40 +02:00
#!/bin/bash
set -eo pipefail
# Se positionner sur la racine du projet
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd ${DIR}
cd ../..
DIR=$(pwd)
# Installation des dépendances composer
composer install --no-interaction
bin/console d:s:u --force --complete
bin/console app:Init
exec $@