Add composer to vagrant fix #2305

This commit is contained in:
Lev Lazinskiy 2016-06-06 19:05:49 -07:00
parent 9e1a1f10be
commit 53d0e62ff4
1 changed files with 4 additions and 0 deletions

4
Vagrantfile vendored
View File

@ -12,6 +12,10 @@ service apache2 restart
rm -f /var/www/html/index.html rm -f /var/www/html/index.html
date > /etc/vagrant_provisioned_at date > /etc/vagrant_provisioned_at
curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer
cd /var/www/html && composer install
wget -q https://phar.phpunit.de/phpunit.phar wget -q https://phar.phpunit.de/phpunit.phar
chmod +x phpunit.phar chmod +x phpunit.phar
sudo mv phpunit.phar /usr/local/bin/phpunit sudo mv phpunit.phar /usr/local/bin/phpunit