Closed davidvasandani closed 2 years ago
I'm just discovering this project so not an expert, but I think you'll need to rename the config.php.example
file in phplib
file to config.php
and edit it to meet your needs. Check out the Configuration section in the README.md.
-----> Bootstrapping...
-----> Installing platform packages...
ERROR: neither your composer.json 'require' section nor any
dependency therein requires a runtime version, but 'require-dev'
or a dependency therein does. Heroku cannot automatically select
a default runtime version in this case.
Please add a version requirement for 'php' to section 'require'
in composer.json, 'composer update', commit, and deploy again.
! ERROR: Couldn't load 'composer.lock'; it must be a valid lock
file generated by Composer and be in a consistent state.
Check above for any parse errors and address them if necessary.
Run 'composer update', add/commit the change, then push again.
! Push rejected, failed to compile PHP app.
! Push failed```
I am also getting the same error as posted by @rhoml .
It is still broken. Has anyone been able to deploy it on Heroku?
After running the build in Heroku, the browser returns:
Cannot find config.php! It must be in phplib and named config.php