Search code examples
macospgadmin-4

Location of pgadmin4 config_local.py on MacOS Mojave


The pgAdmin4 documentation for desktop deployment states that custom configuration should be done in config_local.py. Unfortunately I cannot find where this file would/should be on a Mac.

Where on the Mac (Mojave) does the pgAdmin 4 config reside.

Specifically I want to enable keep-alive on the client side of the DB.


Solution

  • use command: sudo find / -name "config.py"

    I found that the config.py is in this path on macos catalina:

    /Library/PostgreSQL/12/pgAdmin 4.app/Contents/Resources/web/config.py