-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Executing post-install-cmd commands from composer.json #2
Comments
I was able to solve my issue by the following steps.
Thanks for a great buildpack! |
I have written a tutorial using this build pack, if you'd like to refer to it you your README.md. https://blog.enge.me/post/a-comprehensive-tutorial-for-deploying-laravel-4-on-heroku |
Is there a way to |
I haven't run into this issue before and I use laravel pretty extensively with this buildpack. If anything PATH is set during the compile phase here https://github.com/winglian/heroku-buildpack-php/blob/mpm-event-php55-fpm/bin/compile#L52 |
The default
composer.json
provided by laravel has the following scripts:However,
php
is not available, thus the push fails. I tried using$BUILD_DIR/bin/php
, since that's what you use in thecompile
script to execute composer, however apparently$BUILD_DIR
is empty when composer executes these functions because I receive the following error messages.How might I go about modifying the
composer.json
provided by Laravel so that it can successfully execute artisan commands via the json file?The text was updated successfully, but these errors were encountered: