Composer integration into Vagrant, and phpstorm ignoring.

This commit is contained in:
Buster Neece 2014-06-04 15:25:17 -05:00
parent 9b7206a42f
commit 8119950d63
2 changed files with 7 additions and 0 deletions

1
.gitignore vendored
View File

@ -14,6 +14,7 @@ app/models/Proxy/*.php
*.DS_Store
*.apdisk
.vagrant
.idea
# Auto-generated content.
/vendor/

View File

@ -76,6 +76,12 @@ cd /root
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/local/bin/composer
if [ ! -f /var/www/vagrant/vendor/autoload.php ]
then
cd /var/www/vagrant
composer install
fi
# Set up DB.
cd /var/www/vagrant/util
sudo -u www-data php doctrine.php orm:schema-tool:create