From 0c4b0e19acc265463f04c1aa1b4212c18a8dfbe6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Mon, 23 Sep 2019 11:19:05 +0200 Subject: [PATCH] removed now useless Git settings --- vagrant/bootstrap.sh | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 35c517b..2670759 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -138,35 +138,31 @@ if [ "$TAG" != '' ]; then git checkout $TAG fi + + + echo -e "\n--- Retrieving MONARC libraries… ---\n" -# TODO: Can be removed when we move to packagis. +# Back-end composer install -o -# Back-end mkdir -p module/Monarc/Proxy +mkdir -p data/cache +mkdir -p data/LazyServices/Proxy cd module/Monarc ln -s ./../../vendor/monarc/core Core ln -s ./../../vendor/monarc/frontoffice FrontOffice cd $PATH_TO_MONARC -# cd module/Monarc/FrontOffice -# git config core.fileMode false -# cd $PATH_TO_MONARC -# cd module/Monarc/Core -# git config core.fileMode false -# cd $PATH_TO_MONARC -mkdir -p data/cache -mkdir -p data/LazyServices/Proxy # Front-end mkdir node_modules cd node_modules -git clone --config core.fileMode=false https://github.com/monarc-project/ng-client.git ng_client > /dev/null 2>&1 +git clone https://github.com/monarc-project/ng-client.git ng_client > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "\nERROR: unable to clone the ng-client repository\n" exit 1; fi -git clone --config core.fileMode=false https://github.com/monarc-project/ng-anr.git ng_anr > /dev/null 2>&1 +git clone https://github.com/monarc-project/ng-anr.git ng_anr > /dev/null 2>&1 if [ $? -ne 0 ]; then echo "\nERROR: unable to clone the ng-anr repository\n" exit 1; @@ -178,6 +174,8 @@ chgrp -R www-data $PATH_TO_MONARC chmod -R 700 $PATH_TO_MONARC + + echo -e "\n--- Add a VirtualHost for MONARC ---\n" cat > /etc/apache2/sites-enabled/000-default.conf <