]> git.mxchange.org Git - friendica.git/commitdiff
Vagrant: Do not pull PHP requirements during VM setup
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 1 Oct 2021 06:37:19 +0000 (08:37 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Fri, 1 Oct 2021 06:37:19 +0000 (08:37 +0200)
Don't pull the PHP requirements of Friendica with composer during the VM setup.

First coding is done out side of the VM, so should be the management of the
dependencies. Additionally if the _VirtualBox Guest Additions_ versions don't
match on the guest and host systems, writing to the shared directory will not
work, thus running composer will generate error messages during the initial
setup and Friendica wont work.

bin/dev/vagrant_provision.sh

index c8e62f29150a5f020b4942e9bfecf3dbf69ca3e2..a7cb7f308dc88be243566589d8661d0d19f6013b 100755 (executable)
@@ -94,11 +94,7 @@ rm -rf /var/www/
 ln -fs /vagrant /var/www
 
 # install deps with composer
-echo ">>> Installing php requirements"
-apt install unzip
 cd /var/www
-php bin/composer.phar install
-
 
 echo ">>> Setup Friendica"