From f9bbc2ac7d68283a36e7bd927d5e7fc7ba318085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Bonhomme?= Date: Thu, 21 Nov 2019 08:31:22 +0100 Subject: [PATCH] creation of cache folders --- vagrant/Vagrantfile | 2 +- vagrant/bootstrap.sh | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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..b235764 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