diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 2119b6c..e50ef32 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -54,7 +54,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # # # Use VBoxManage to customize the VM. For example to change memory: vb.customize ["modifyvm", :id, "--memory", "1024"] - vb.customize ["modifyvm", :id, "--name", "MONARC FO - Ubuntu 18.04"] + vb.customize ["modifyvm", :id, "--name", "MONARC FO - Ubuntu 18.04 - 1"] end # # View the documentation for the provider you're using for more diff --git a/vagrant/bootstrap.sh b/vagrant/bootstrap.sh index 84e2cbb..f14fa1a 100644 --- a/vagrant/bootstrap.sh +++ b/vagrant/bootstrap.sh @@ -129,6 +129,13 @@ ln -s ./../../vendor/monarc/frontoffice FrontOffice 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 @@ -259,8 +266,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