mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
31 lines
845 B
Bash
Executable File
31 lines
845 B
Bash
Executable File
#!/bin/bash
|
|
echo "######################"
|
|
echo " time to update the framadate setup"
|
|
echo "######################"
|
|
# git reset --hard
|
|
git pull origin master
|
|
|
|
composer install
|
|
php bin/console doctrine:schema:update --force
|
|
echo "######################"
|
|
echo " update the funky frontend submodule "
|
|
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 "######################"
|
|
yarn run build:prod:demobliss
|
|
|
|
echo "######################"
|
|
echo " copying built files in the public folder of the symfony project "
|
|
echo "######################"
|
|
cp -r dist/* ../public/
|
|
echo "######################"
|
|
echo " done "
|
|
echo "######################"
|