2014-04-22 22:16:18 +00:00
|
|
|
#!/bin/bash -xe
|
|
|
|
# Build a Laravel/PHP distribution using composer.
|
|
|
|
|
|
|
|
cat >bootstrap/environment.php <<EOF
|
|
|
|
<?php
|
|
|
|
\$env = \$app->detectEnvironment(function()
|
|
|
|
{
|
|
|
|
return 'dev';
|
|
|
|
});
|
|
|
|
EOF
|
|
|
|
curl -s https://getcomposer.org/installer | /usr/bin/php
|
2015-08-18 13:30:45 +00:00
|
|
|
php composer.phar install --prefer-dist --ignore-platform-reqs
|