17 lines
280 B
Bash
Executable File
17 lines
280 B
Bash
Executable File
#!/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)
|
|
|
|
bin/console d:s:u --force --complete
|
|
|
|
yarn encore prod
|
|
|
|
bin/console app:Init
|
|
bin/console app:Cron
|
|
|
|
exec $@ |