updated vagrant bootstrap file

laminas
Cédric Bonhomme 2019-11-21 08:51:19 +01:00
parent 009a8205a6
commit 59768cbb76
No known key found for this signature in database
GPG Key ID: A1CB94DE57B7A70D
1 changed files with 10 additions and 2 deletions

View File

@ -128,6 +128,13 @@ ln -s ./../../vendor/monarc/backoffice BackOffice
cd $PATH_TO_MONARC
mkdir -p $PATH_TO_MONARC/data/cache
mkdir -p $PATH_TO_MONARC/data/LazyServices/Proxy
mkdir -p $PATH_TO_MONARC/data/DoctrineORMModule/Proxy
chown -R www-data data
chmod -R 777 data
# Front-end
mkdir node_modules
cd node_modules
@ -234,8 +241,9 @@ mysql -u $DBUSER_MONARC -p$DBPASSWORD_MONARC monarc_common < db-bootstrap/monarc
echo -e "\n--- Installation of Grunt… ---\n"
sudo apt-get -y install npm > /dev/null
npm install -g grunt-cli > /dev/null
curl -sL https://deb.nodesource.com/setup_13.x | sudo bash -
sudo apt-get install -y nodejs
sudo npm install -g grunt-cli
echo -e "\n--- Update the project… ---\n"