Heroku Archives

How to resolve “Composer vendor dir found in project” WARNING in Heroku?

Author - Webner
|
0 Comments
|

Description of this Heroku warning

Git repository always contains the vendor directory. This directory should not be under version control. Only ‘composer.json’ and ‘composer.lock’ files need to be added because Heroku handles the installation of dependencies on each deploy.

There are some steps that should be Read more…

How to close Heroku Postgres Database connections

Author - Kailash Kumar
|
0 Comments
|

Problem: Heroku Postgres Database Fatal error too many database connections for role ‘username’

Solution:
1. First install Heroku toolbelt with command
a. sudo snap install heroku –classic
2. Login from command line
a. heroku login
3. Check current database connections
a. heroku pg:info Read more…