FIxed the vagrant installation.
parent
9ad7b375da
commit
789b63c771
|
@ -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 host to the actual folder. The second argument is
|
||||||
# the path on the guest to mount the folder. And the optional third
|
# the path on the guest to mount the folder. And the optional third
|
||||||
# argument is a set of non-required options.
|
# argument is a set of non-required options.
|
||||||
config.vm.synced_folder "..", "/home/ubuntu/monarc",
|
config.vm.synced_folder "..", "/home/vagrant/monarc",
|
||||||
owner: "www-data", group: "www-data", disabled: false
|
owner: "vagrant", group: "vagrant", disabled: false, mount_options: ["dmode=777", "fmode=775"]
|
||||||
|
|
||||||
# Provider-specific configuration so you can fine-tune various
|
# Provider-specific configuration so you can fine-tune various
|
||||||
# backing providers for Vagrant. These expose provider-specific options.
|
# backing providers for Vagrant. These expose provider-specific options.
|
||||||
|
|
|
@ -111,7 +111,7 @@ sudo sed -i "s/AllowOverride None/AllowOverride All/g" /etc/apache2/apache2.conf
|
||||||
|
|
||||||
|
|
||||||
echo -e "\n--- Installing composer… ---\n"
|
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
|
if [ $? -ne 0 ]; then
|
||||||
echo "\nERROR: unable to install composer\n"
|
echo "\nERROR: unable to install composer\n"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
@ -123,7 +123,7 @@ cd $PATH_TO_MONARC
|
||||||
git config core.fileMode false
|
git config core.fileMode false
|
||||||
|
|
||||||
echo -e "\n--- Retrieving MONARC libraries… ---\n"
|
echo -e "\n--- Retrieving MONARC libraries… ---\n"
|
||||||
composer install -o
|
composer ins
|
||||||
|
|
||||||
|
|
||||||
# Make modules symlinks.
|
# Make modules symlinks.
|
||||||
|
|
Loading…
Reference in New Issue