ninegitea/misc/script/reconfigure.sh

17 lines
324 B
Bash
Raw Normal View History

2021-07-20 13:04:47 +02:00
#!/bin/bash
2023-12-22 13:53:10 +01:00
set -eo pipefail
2021-07-20 13:04:47 +02:00
# Se positionner sur la racine du projet
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
cd ${DIR}
2023-12-22 13:53:10 +01:00
cd ../..
2021-07-20 13:04:47 +02:00
DIR=$(pwd)
2023-12-22 13:53:10 +01:00
# Installation des dépendances composer
composer install --no-interaction
2021-07-20 13:04:47 +02:00
2023-12-22 13:53:10 +01:00
bin/console d:s:u --force --complete
2024-03-15 15:44:29 +01:00
bin/console app:Websocket &
2023-12-22 13:53:10 +01:00
exec $@