Re: Possible to add servers to pgadmin4 via CLI or config files?

2017-09-06 Thread Glen Huang
Got it. Thanks! > On 7 Sep 2017, at 1:53 PM, Ashesh Vashi wrote: > > > On Thu, Sep 7, 2017 at 11:18 AM, Glen Huang <mailto:hey...@gmail.com>> wrote: > Thanks for the detailed explanation. > > Yes, I currently run it the runtime mode. > > Good to kn

Re: Possible to add servers to pgadmin4 via CLI or config files?

2017-09-06 Thread Glen Huang
new version? Regards, Glen > On 7 Sep 2017, at 1:39 PM, Ashesh Vashi wrote: > > On Thu, Sep 7, 2017 at 10:43 AM, Glen Huang <mailto:hey...@gmail.com>> wrote: > Hi, > > I’m running pgadmin in docker, and I’d like it to contain some servers by > default when the cont

Possible to add servers to pgadmin4 via CLI or config files?

2017-09-06 Thread Glen Huang
Hi, I’m running pgadmin in docker, and I’d like it to contain some servers by default when the container starts. Is there any way to add servers (ideally also preferences) via command line or some config files? Currently I keep a copy of pgadmin4.db after I have configured pgadmin, and put tha

Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Glen Huang
uawala > EnterpriseDB: http://www.enterprisedb.com <http://www.enterprisedb.com/> > The Enterprise PostgreSQL Company > > <https://community.postgresrocks.net/> > > On Thu, Sep 7, 2017 at 10:12 AM, Glen Huang <mailto:hey...@gmail.com>> wrote: > Thanks for off

Re: Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Glen Huang
terprise PostgreSQL Company > > <https://community.postgresrocks.net/> > > On Wed, Sep 6, 2017 at 8:30 PM, Glen Huang <mailto:hey...@gmail.com>> wrote: > Hi, > > I’m running pgadmin4 in docker, and I have set LOG_FILE = '/dev/stdout’ to > log

Unable to log to stdout for pgadmin4 in python3

2017-09-06 Thread Glen Huang
Hi, I’m running pgadmin4 in docker, and I have set LOG_FILE = '/dev/stdout’ to log to stdout, but when running pgAdmin4.py, it fails with: Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/pgadmin4/pgAdmin4.py", line 56, in app = create_app() File "/usr/lo