mirror of
https://framagit.org/tykayn/date-poll-api
synced 2023-08-25 08:23:11 +02:00
up script update
This commit is contained in:
parent
bb5ca7de44
commit
da0fcafe9a
15
update.sh
15
update.sh
@ -10,16 +10,29 @@ php bin/console doctrine:schema:update --force
|
|||||||
echo "######################"
|
echo "######################"
|
||||||
echo " update the funky frontend submodule "
|
echo " update the funky frontend submodule "
|
||||||
echo "######################"
|
echo "######################"
|
||||||
|
if [ ! -d "funky-framadate-front" ]; then
|
||||||
|
# initiate sub directory for funky front
|
||||||
|
git submodule init
|
||||||
|
fi
|
||||||
|
|
||||||
|
git config --global diff.submodule log
|
||||||
git submodule update
|
git submodule update
|
||||||
echo "######################"
|
echo "######################"
|
||||||
echo " check dependencies of the frontend with yarn "
|
echo " check dependencies of the frontend with yarn "
|
||||||
echo "######################"
|
echo "######################"
|
||||||
cd funky-framadate-front
|
cd funky-framadate-front
|
||||||
|
echo "######################"
|
||||||
|
echo " debug info : version of programs"
|
||||||
|
echo " "
|
||||||
|
git branch
|
||||||
|
node -v
|
||||||
|
yarn -v
|
||||||
|
echo "######################"
|
||||||
yarn
|
yarn
|
||||||
echo "######################"
|
echo "######################"
|
||||||
echo " building the frontend "
|
echo " building the frontend "
|
||||||
echo "######################"
|
echo "######################"
|
||||||
yarn run build:prod:demobliss
|
ng build --prod --baseHref=https://framadate-api.cipherbliss.com
|
||||||
|
|
||||||
echo "######################"
|
echo "######################"
|
||||||
echo " copying built files in the public folder of the symfony project "
|
echo " copying built files in the public folder of the symfony project "
|
||||||
|
Loading…
Reference in New Issue
Block a user