2019-12-30 19:12:47 +01:00
|
|
|
#!/bin/bash
|
|
|
|
echo "######################"
|
|
|
|
echo " time to update the framadate setup"
|
|
|
|
echo "######################"
|
2021-02-12 14:39:45 +01:00
|
|
|
# git reset --hard
|
2019-12-30 19:12:47 +01:00
|
|
|
git pull origin master
|
|
|
|
|
|
|
|
composer install
|
|
|
|
php bin/console doctrine:schema:update --force
|
|
|
|
echo "######################"
|
2021-02-12 14:39:45 +01:00
|
|
|
echo " update the funky frontend submodule "
|
2019-12-30 19:12:47 +01:00
|
|
|
echo "######################"
|
|
|
|
git submodule update
|
|
|
|
echo "######################"
|
|
|
|
echo " check dependencies of the frontend with yarn "
|
|
|
|
echo "######################"
|
|
|
|
cd funky-framadate-front
|
|
|
|
yarn
|
|
|
|
echo "######################"
|
|
|
|
echo " building the frontend "
|
|
|
|
echo "######################"
|
2021-02-12 14:39:45 +01:00
|
|
|
yarn run build:prod:demobliss
|
|
|
|
|
2019-12-30 19:12:47 +01:00
|
|
|
echo "######################"
|
|
|
|
echo " copying built files in the public folder of the symfony project "
|
|
|
|
echo "######################"
|
2021-02-12 14:39:45 +01:00
|
|
|
cp -r dist/* ../public/
|
2019-12-30 19:12:47 +01:00
|
|
|
echo "######################"
|
|
|
|
echo " done "
|
|
|
|
echo "######################"
|