Consider default SERVER_MODE =True for pgadmin4-v1-web - Mailing list pgadmin-support

From Mike Surcouf
Subject Consider default SERVER_MODE =True for pgadmin4-v1-web
Date
Msg-id 2197768425D7F5479A0FFB3FEC212F7FF5F00C8C@aesmail.surcouf.local
Whole thread Raw
Responses Re: Consider default SERVER_MODE =True for pgadmin4-v1-web  (Dave Page <dpage@pgadmin.org>)
List pgadmin-support
It would be nice if the pgadmin40v1-web package set the SERVER_MODE  = True

I can't think why you would install the web package without this but there may be a reason?
Also since the setup script does different things depending on this value if you don't do it first you have to delete
theconfig and sqllite database and start again otherwise it will never work 

Currently I have this in my setup script

#Overide SERVER_MODE (must be done BEFORE setup)
cat >> /usr/lib/python2.7/site-packages/pgadmin4-web/config_local.py << "EOF"
SERVER_MODE = True
EOF

Thanks

Mike


pgadmin-support by date:

Previous
From: Mike Surcouf
Date:
Subject: RE: Cant browse servers after update to pgadmin 1.6 (server version)
Next
From: Dave Page
Date:
Subject: Re: Consider default SERVER_MODE =True for pgadmin4-v1-web