FIxed the vagrant installation.

pull/5/head
Ruslan Baidan 2021-05-18 09:34:44 +02:00
parent 9ad7b375da
commit 789b63c771
2 changed files with 4 additions and 4 deletions

4
vagrant/Vagrantfile vendored
View File

@ -42,8 +42,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# the path on the host to the actual folder. The second argument is
# the path on the guest to mount the folder. And the optional third
# argument is a set of non-required options.
config.vm.synced_folder "..", "/home/ubuntu/monarc",
owner: "www-data", group: "www-data", disabled: false
config.vm.synced_folder "..", "/home/vagrant/monarc",
owner: "vagrant", group: "vagrant", disabled: false, mount_options: ["dmode=777", "fmode=775"]
# Provider-specific configuration so you can fine-tune various
# backing providers for Vagrant. These expose provider-specific options.

View File

@ -111,7 +111,7 @@ sudo sed -i "s/AllowOverride None/AllowOverride All/g" /etc/apache2/apache2.conf
echo -e "\n--- Installing composer… ---\n"
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer > /dev/null
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo "\nERROR: unable to install composer\n"
exit 1;
@ -123,7 +123,7 @@ cd $PATH_TO_MONARC
git config core.fileMode false
echo -e "\n--- Retrieving MONARC libraries… ---\n"
composer install -o
composer ins
# Make modules symlinks.