etsy / opsweekly

On call alert classification and reporting
MIT License
761 stars 100 forks source link

Deploy to Heroku is broken #57

Closed davidvasandani closed 2 years ago

davidvasandani commented 8 years ago

After running the build in Heroku, the browser returns: Cannot find config.php! It must be in phplib and named config.php

domingusj commented 8 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.

rhoml commented 7 years ago


-----> 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```
kdthanvi commented 5 years ago

I am also getting the same error as posted by @rhoml .

akshatgit commented 5 years ago

It is still broken. Has anyone been able to deploy it on Heroku?