Add composer to vagrant fix #2305
This commit is contained in:
parent
9e1a1f10be
commit
53d0e62ff4
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue